Jump to content

jaclaz

Member
  • Posts

    21,300
  • Joined

  • Last visited

  • Days Won

    53
  • Donations

    0.00 USD 
  • Country

    Italy

Everything posted by jaclaz

  1. Which advantage has it when compared to the snippet in post #27 (that needs not cabarc or *any* external program)? The issue is that you need to create a file (in your case TWO of them). jaclaz
  2. You can upgrade it to 29. Try: @ECHO off SETLOCAL ENABLEDELAYEDEXPANSION SET Counter=0 FOR /F "tokens=*" %%A IN ('cabarc L test.cab') do ( SET /A Counter+=1 Echo %%A IF !Counter!==6 ECHO ^<--- There are 29 dashes ---^>&ECHO 01234567890123456789012345678 ) When you will find a cab with a file name+ext longer than 29 characters we'll see how to manage the thingy, this is an idea, but it is overkill IMHO: @ECHO off SETLOCAL ENABLEDELAYEDEXPANSION FOR /F "tokens=1 delims=/" %%A IN ('cabarc L test.cab ^| FIND "/"') do ( ECHO %%A ECHO 01234564789012345678901234567890123456789012345678901234567890123456789012345678 SET Line=%%A CALL :parse_line CALL :rem_trail_spaces !Line! ECHO [!Line!] ) GOTO :EOF :rem_trail_spaces SET Line=%* GOTO :EOF :parse_line SET /a Length=80 SET /a token=3 :loop SET Line=!Line:~0,%Length%! SET Parse=!Line:~-2,2! IF "%Parse%"==" " SET /a Length-=1&GOTO :Loop SET /a Length-=1 SET /a Shorter=%Length%-1 SET Long=!Line:~0,%Length%! SET Short=!Line:~0,%Shorter%! IF "%Short% "=="%Long%" ( ECHO %Length% SET /a token-=1 ECHO Begin token%token% %Length% ) IF %Token% gtr 1 GOTO :Loop SET Line=%Short% GOTO :EOF jaclaz
  3. If I may, those "controllers" are respectively the Prolific and the Ali one, I think there are (separate) drivers for both. And seemingly there was also a Microsoft version of the cable driver compatible with win98: http://download.cnet.com/USB-Easy-Transfer-Cable/3000-18493_4-97865.html This may be of interest: http://prolificusa.com/docs/25A1/um_pl25A1_v1.1.pdf Seemingly the good Prolific guys do have a program (and drive) compatible with Windows 98 (PCLinq3): http://web.archive.org/web/20120510025422/http://www.prolific.com.tw/support/files//IO%20Cable/PL-25A1/Software/PCLinq3_Generic_3103.zip And these should be the Ali drivers : http://www.drivers-download.com/Drv/ALI/M5632/ jaclaz
  4. 1) yep, you need just grldr and "a" menu.lst in root of the hard disk. 2) No, the idea is simpler, when you boot from the hard disk you will have the choice to boot either your XP (as is) or to boot grub4dos, when grub4dos (grldr in this setup) will load it will look for a file named menu.lst, the choices available depend from the content of the menu.lst, the sample I provided you will load your Windows 7. If everything works (as it should) you can later decrease (or nullify) the "timeout" in the menu.lst (it makes little sense to have time to make a choice when only one option is available. And later you can "evolve" and remove completely the menu.lst by editing the embedded manu.lst inside grldr 3) No, the idea of this approach is to avoid modifying the \boot\BCD on the Windows 7 install or anyhting on the SSD, this way you can have also revert to connecting one or the other device as you are doing now. To get into deeper detail, with this approach you boot to NTLDR that acts only as the XP OS loader if you choose XP whilst if you choose grub4dos you use this NTLDR as (primary) bootmanager, to load grldr (secondary) bootmanager that calls BOOTMGR (that works only as the OS loader for Windows 7). The alternative would be to set the SSD to first boot device (hence boot to BOOTMGR) and add an entry for NTLDR in the \boot\BCD (wthrough BCDEDIT or similar dedicated program, since the \boot\BCD is not "plain text" but rather a Registry hive) and modify the BOOT.INI to reflect the fact that the hard disk is not anymore "first disk", this would make the hard disk not anymore "self standing" in case you want to go back to have one or the other device connected. Right now your entry in BOOT.INI is: you would have to modify to something like: In order to be able to boot in the two cases (with just the hard disk or with the hard disk + SSD connected) I hope the above is clear enough. jaclaz
  5. Sure it is possible. And no, no damage can happen by simply connecting the two disks at the same time. As a matter of fact connecting/disconnecting SATA (I presume) connectors is MORE likely to create issues http://en.wikipedia.org/wiki/Serial_ATA There are several way you can have a dual boot setup. Right now you have on hard disk NTLDR that doubles as OS loader for XP and boot manager (using BOOT.INI for "menu") on the Hard disk and BOOTMGR that doubles as OS loader for Windos 7 (using \boot\BCD for "menu"). The simpler (in the sense of the one less susceptible of any error) would be to add grub4dos grldr to the BOOT.INI. Set the hard disk as first boot device. Edit BOOT.INI (which is a plain text file, which you can edit with Notepad - though it may be hidden/read only) adding to it a line like: add to the root of the hard disk the grldr file and a menu.lst, get the package from here: http://code.google.com/p/grub4dos-chenall/downloads/detail?name=grub4dos-0.4.5c-2013-03-03.7z&can=2&q= menu.lst contents: This way you boot normally to NTLDR, then choose grub4dos and from this latter choose BOOTMGR. No binary files (or disk sectors) are modified (only the BOOT.INI text file has an added line/choice). jaclaz
  6. For the benefit of future techno archeologists , it is not that dencorso waked up one morning and decided to double check a statement he made some 4 years earlier. caps_buster re-posted the question here: and *someone* (who wishes to remain anonymmous ) nagged dencorso about re-checking the above information. As well, submix8c is not - as it would seem reading just this thread - (completely) crazy, he is apologizing here for what was written there. Anyway, all is well that ends well we have now a confirmed piece of info, only thing remaining is to check if it works on Czech version. jaclaz
  7. It works from here hxxp://images4.fanpop.com/image/photos/16800000/Chandler-Bing-friends-16864199-500-299.jpg A glitch in the Matrix Internet? Here is a smaller one: jaclaz
  8. Owww, come off it. They also stole Vista from Italian (do you have an idea how difficult is since 2006 or so to find a valid web search result for a hotel room in Italy with a panoramic view?) and Windows from English (try finding online someone willing to repair your windows (the thingies made of wood or aluminum and glass) .... ), etc., etc. They stole Surface (besides English) from themselves creating more confusion than anything: http://www.forensicfocus.com/Forums/viewtopic/t=9981/start=7/ This is common to each and every company, we have seen car examples earlier, making a fuss about it is futile (like resistance is), mindless marketing jerks will use common words to identify products and awful acronyms (such as MBAM or MDOP or ADK) for the rest., you'll need to learn to live with that.. And Bing, to me, still means : jaclaz
  9. Sure it has been done. Instead of adding dummydisk.sys another disk driver is added on the fly and the install is performed from an UNtouched .iso.. There are at least a couple of variations, start reading here: My guess is that you can anyway install dummydisk.sys at the Shift + F10 command prompt. jaclaz
  10. Do files with space in names exist in CAB files? Anyway, see if this fits: @ECHO off SETLOCAL ENABLEDELAYEDEXPANSION FOR /F "tokens=*" %%A IN ('cabarc L test.cab ^| FIND "/"') do ( SET Line=%%A SET Line=!Line:~0,28! CALL :rem_trail_spaces !Line! ECHO [!Line!] ) GOTO :EOF :rem_trail_spaces SET Line=%* GOTO :EOF jaclaz
  11. The quote of the day is from: http://windows.microsoft.com/en-CA/windows/rt-disclaimer Captain Obvious is back from his trip to Thailand: In case of need : jaclaz
  12. Dogway, maybe if you would provide some meaningful DETAIL, AND some BACKGROUND/DESCRIPTION of what you re up to, someone else might attempt helping you, right now it seems like a guessing game of some kind, I would normally apply torture to you in order to get the EXACT. COMPLETE, DETAILED data (that you should have posted on the very first post of this thread), but today I feel less grumpy then usual . Please use this as generic reference: http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/problem-report-standard-litany.html JFYI, using a USB stick as a replacement of the A: F6 floppy was definitely a slip on a chocolate covered banana: http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/put-down-the-chocolate-covered-banana.html jaclaz
  13. I am not sure to understand is with chipset drivers or video drivers. If the latter, maybe this could be of use: http://bearwindows.boot-land.net/vbe9x.htm jaclaz
  14. all is well that ends well. jaclaz
  15. Not at all . As a matter of fact it makes sense since you are parsing the files line by line. @dencorso See the above, it is just a matter of "philosophy", either processing the file(s) as a whole or parsing them line by line. And anything needing cygwin1.dll is philosophically "wrong". And anything provided through their installer is a crazy, senseless, mass of bloat , compare: http://reboot.pro/topic/15207-why-everything-is-so-dmn-diificult-a-web-quest-for-ddexe/ jaclaz
  16. Just for the record (info omitted in the OP) the machine is a HP p6714y, more details on the hardware are on this earlier thread: Windows 98se installation error OEMCD001 jaclaz
  17. Good luck finding the drivers for it. jaclaz
  18. I don't get it. Use a dec or hex character number, instead of the textual representation of it. I intiially suggested gsar only because it's one of the tool I use coomonly (and it works on binary files, something I do a lot), you may want to find an alternative to it only dedicated to "text" files. Besides the name this one doesn't seem like bad: http://sourceforge.net/projects/fart-it/ http://fart-it.sourceforge.net/ or this one: http://findandreplace.codeplex.com/ Most probably the behaviour of MORE is a glitch in the matrix, I don't think that many people ever used MORE for anything bigger than a few Kbytes. jaclaz
  19. Usual reality check : WHY do you want to use MORE to remove TABs (and not gsar, that you have available or another third party tool) ? jaclaz
  20. sdt it is not at all clear: HOW the disk was setup BEFORE you started fiddling with it WHAT exactly you did HOW it is setup now Everything (or nearly everything) is possible, but you need to provide some more info, a lousy screenshot of disk management is not enough, which partitions are primary, which ones are logical volumes inside extended, what is inside each volume (they seem mostly filled up) etc., etc. Also some "history" of the disk and/or system might be needed, the 100 Mb partition is created by the Windows 7 install ONLY if it is initiated on a "not initialized" disk. jaclaz
  21. No. Don't cite me as a reference, I tried to suggest that in order to make things much easier there is actually NO need of using the CD nor to modify anything , maybe you meant "besides jaclaz's post" . jaclaz
  22. @Charlotte I doubt that the fuse (which IF is there, it is on the 110/240 VAC side of the PSU) can blow. http://www.repairfaq.org/sam/smpsfaq.htm#smpstsps Most modern PSU's have overload protection (electronic), but it is not guaranteed that it will work, then most likely the regulators/power transistors of the switching DC part will heat instantly and the PSU will shut off by thermal protection. @Hoko In any case DO NOT do it. jaclaz
  23. Maybe a step back is required anyway. 99.99999% the only partition on that disk is NTFS, AND unless you carefully plan the install (which WILL require a second partition, FAT or FAT32, and additionally within LBA48 adrresses ) it is very, very likely that a "plain" Windows 98 install (once you have solved the CD-ROM drivers issue) will "botch" the Windows 7 install for good (and from what you wrote you don't seem - no offence whatever intended - expert enough to fix/restore the windows 7. Yes , running the Windows 98 inside a VM would be (besides much easier) the "right" solution. If you want to go ahead anyway, STRONGLY NOT advised (by me), you can always install from hard disk (and that will solve "at the root" SATA CD drivers issues). See: http://support.microsoft.com/kb/179756/en-us jaclaz
  24. ...and even in this the good MS guys will be late http://www.theverge.com/2013/3/4/4062448/apple-watch-will-run-ios-and-arrive-later-this-year-say-sources http://www.bloomberg.com/news/2013-03-12/apple-s-iwatch-will-measure-more-than-time.html http://www.cbsnews.com/8301-505124_162-57576066/3-reasons-apple-samsung-watches-could-be-a-bust/ http://www.techradar.com/news/world-of-tech/your-laziness-will-force-nfc-onto-apple-watch-1143721 Humanity is doomed... jaclaz
  25. Yes and no. If you have more than two tokens NOT quoted "on the right side" of the equal sign my code snippet won't work. This may: FOR /F "tokens=1,* delims==" %%A IN ('TYPE "1.txt"') DO ( CALL :strip_spaces %%A CALL :strip_readd_quotes %%B ECHO !var!=!val! ) :strip_spaces set var=%* GOTO :EOF :strip_readd_quotes set val="%*" set val=%val:""="% IF "[]"=="[%*]" set val= GOTO :EOF but it won't work with the example you just posted with double-double quotes inside double quotes. jaclaz
×
×
  • Create New...