Jump to content

jaclaz

Member
  • Posts

    21,291
  • Joined

  • Last visited

  • Days Won

    53
  • Donations

    0.00 USD 
  • Country

    Italy

Everything posted by jaclaz

  1. But you have to make up your mind, first: Is the batch to be run in the SAME directory where the "Windows*-KB*.EXE" (I presume Windows XP updates are saved? WHAT exact parameter are you supplying the batch as %1? ( a full path, a relative path, what)? Still IMHO running a bunch of updates with the /norestart parameter and in an order given by the result of the FOR /R loop may need LOTS of testing to make sure the thing actually runs. You have THREE options (two of which are "wrong", though for different reasons): "%%A" /quiet /norestart DEL /F /Q "%%A") this is not normally a good idea IMHO, using START /WAIT is always advised START /WAIT Dir\"%%~nA"\KB123456.exe /quiet /norestart RD /S /Q Dir\"%%~nA") this one is seemingly OK, though the "Dir" materializes itself from thin air and you seemingly completely missed that the Quotes have to be BEFORE and AFTER START /WAIT Dir\"%%~nA"\KB123456.exe /quiet /norestart RD /S /Q "%Temp%\Dir") this one is "wrong" for TWO reasons: you run a file in sub-directory of "Dir" (still materializing from thin air) that has the same name of the .exe file you should be running, BUT you have hardcoded the actual .exe file name then you delete EACH TIME the WHOLE contents of "%Temp%\Dir" (which is NOT the same "Dir" you used before). You quoted a snippet posted by Yzöwl here: AND changed it. WHY? (I mean see earlier what is the directory structure and placement of the batch you expect/want?) Have you tried using it EXACTLY as it was posted before anything else? In what that EXACT, AS IS, snippet does not work for you or what missing feature you want to add to it? (apart from the logging, I mean) jaclaz
  2. Let's check if they are hidden, OK? Easiest would be if you get PTEDIT32: ftp://ftp.symantec.com/public/english_us_canada/tools/pq/utilities/PTEDIT32.zip And post a screenshot of it (after having selected the affected disk). jaclaz
  3. What do you think the checked checkbox in second image marked "Hide other Partitions at boot time" is supposed to do? (I mean if not hiding other partitions at boot time? ) Re-install/re-configure MBLDR UNchecking that box. What happens? jaclaz
  4. Has the needed image grown in size? It was 12 Mb until recently.... This thread has been split from the other one (on which you ALREADY posted and I just replied to you): (please, never, never, NEVER double post) in an attempt to better focus each one. We already got the idea of your problem there is no need to post on BOTH therads (AND on 911CD), rest assured we will try and help you, BUT ONLY in one place (and right now it seems to me like the "right" one is the new thread you started on 911CD): http://www.911cd.net/forums//index.php?showtopic=24618&hl= Let's avoid "polluting" several threads with bit and pieces and keep everything together, OK? jaclaz P.S.: I see that there is now also a thread on reboot.pro ALSO : http://reboot.pro/15784/
  5. Try using Winimage to add one to it (possibly the proper one for the DOS that you are using. (and that you didn't specify yet). BUT I cannot say if VMware can actually boot from a "fantasy" super-floppy. To test the image you might need to use grub4dos or memdisk to map the floppy image (saved on hard disk or vritual hard disk) inside the VM. BTW I also replied on the "original" thread you started on 911CD: http://www.911cd.net/forums//index.php?showtopic=24618&hl= For the record, it is perfectly normal that when you "enter the game" you will be lost initially. The advice is: DO NOT PANIC! (assume the above in large friendly letters) You will see that with a little of patience you will get what you want. jaclaz
  6. Re-read, this time SLOWLY first post on this very thread. Please note how first link: http://sites.google.com/site/rmprepusb/tutorials/how-to-create-a-usb-drive-that-will-install-vista-win7-and-server-2008 should now actually be: http://www.rmprepusb.com/tutorials/how-to-create-a-usb-drive-that-will-install-vista-win7-and-server-2008 Sometimes I wonder WHY people wants (actually demands ) to introduce their own variations BEFORE having become familiar with a tool/procedure. jaclaz
  7. IMHO the issue is that you are failing to see some of the possibilities. If you have a variable Temp which value %Temp% resolves to (say) "C:\windows\my stupid path with spaces in it" (i.e. the quotes are INSIDE the value of the variable, when you "mix" them and enclose in quote you do a mess, i.e.: "%Temp%\my_folder" will resolve to ""C:\windows\my stupid path with spaces in it"\my_folder" which is NOT what you want. You want to have everything in quotes AND strip those quotes AND re-apply them "outside". Example: @echo off SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION SET partial_path="C:\my partial path with spaces" SET second_part="my dir_name also with spaces" SET partial SET second CALL :strip partial_path CALL :strip second_part SET partial SET second CALL :join Full_path partial_path second_part SET Full GOTO :EOF :strip SET %1=!%1:"=! GOTO :EOF :join SET %1="!%2!\!%3!" GOTO :EOF jaclaz
  8. You seemingly missed how we are already beyond that workaround: http://www.engadget.com/2011/05/18/samsungs-22-inch-transparent-blu-lcd-tv-shipping-next-week-eye/ jaclaz
  9. Did you partition the device with RMPREPUSB (or with anything else)? jaclaz
  10. Unless you did something very very wrong while attempting to install mbldr, it won't "lose" your partitions , more probably you set them as "hidden" . Check what you see in Disk Management. You most probably only need to unhide them. A suitable tool (running from Windows) is MBRWIZ: http://mbrwizard.com/ or you can use any disk editor and directly change the partition ID in the MBR. Or you can re-run the MBRLDR installer, this time making all partitions visible. In any case, TESTDISK should be able to find again the "lost partitions" (should their entries have been deleted from the partition table, which as said I doubt) jaclaz
  11. Just for the record: http://www.robvanderwoude.com/clevertricks.php scroll down until you find "Carlos M. found a way to increase the number of variables available in a FOR /F loop" that explains partially the thingy. The real issue wich I can see with using the additional # and $ is that the NEXT characters are %, &, etc. that would need to be escaped, so they are a very nice choice if you only have 2 tokens, but they may become a problem if you need 3 or more. jaclaz
  12. Never underestimate the subtle difference between improbable and impossible. You never can say what hides behind your monitor : jaclaz
  13. http://ss64.com/nt/start.html http://support.microsoft.com/kb/156360/en-us jaclaz
  14. Do you see in your crystal ball that "T:" is a non-active partition? (as this piece of info is amissing in the OP) @ibrohimholidmuhammad Maybe if you tell us what the goal is (as opposed to how you think you can reach it) we may provide some easier options, BTW this has nothing to do with programming AND the supprt board for grub4dos is this one: http://reboot.pro/forum/66/ You should FIRST thing read the guide (if the scope is to learn about grub4dos syntax): http://reboot.pro/5187/ http://diddy.boot-land.net/grub4dos/Grub4dos.htm OR, you may make use of this (if the scope is having a recovery partition - not necessarily using grub4dos): http://reboot.pro/15623/ jaclaz
  15. Yep But, since we are going to read a very simple file, made of two lines, of which we are interested in the second only, we can also skip the first one. @allen2 Of course it is presumed that no Cabfolder1 environment variable is present, please note how your remark also applies to the original "value1" or, for that matter, for any variable name, theoretically you need to do error checking EVERY time you define a variable to see if it is already defined or use a LOCAL statement (or use XSET for an opposite behaviour), etc., etc. @echo off SETLOCAL FOR /F "USEBACKQ skip=1 tokens=1,2 delims==" %%A IN ("folderstore.ini") DO IF NOT DEFINED %%A SET "%%A=%%B"&IF NOT DEFINED %%A SET /P %%A=Path to your cabfolder: the above won't touch a pre-existing variable, but obviously IF the variable is already defined, it won't be of ANY use. This might be more effective (just an idea): @echo off SETLOCAL ENABLEDELAYEDEXPANSION SET #a_h1ghl1_1mprob@bl3_v@r1@bl3_n@m3=NO FOR /F "USEBACKQ skip=1 tokens=1,2 delims==" %%A IN ("folderstore.ini") DO ( IF DEFINED %%A ( ECHO Dear demented USER, the variable %%A IS ALREADY DEFINED! SET %%A ECHO. SET /P #a_h1ghl1_1mprob@bl3_v@r1@bl3_n@m3=Type YES - CAPITAL LETTERS - to change it's value to "%%B" or press [ENTER] to leave it alone: ) ELSE ( SET #a_h1ghl1_1mprob@bl3_v@r1@bl3_n@m3=YES ) IF "!#a_h1ghl1_1mprob@bl3_v@r1@bl3_n@m3!"=="YES" SET "%%A=%%B"&IF NOT DEFINED %%A SET /P %%A=Path to your cabfolder: ) jaclaz
  16. Then two/three lines might do: Given this @echo off FOR /F "delims=" %%A IN ('TYPE folderstore.ini ^|FIND /V "["') DO SET %%A IF NOT DEFINED Cabfolder1 SET /P Cabfolder1=Path to your cabfolder: jaclaz
  17. Everything: http://www.fuhh.net/2011/03/creative-transparent-screen-optical.html The above are fake, but the "real thing" is in production now : http://www.engadget.com/2011/05/18/samsungs-22-inch-transparent-blu-lcd-tv-shipping-next-week-eye/ Just imagine a flying-submarine-tank from Bacteria is after you, if it subtly approaches you from behind your screen you won't see it until it would be too late.... jaclaz
  18. Yep , the idea was not to somehow discourage you from writing it yourself from scratch, only to let you know what has already been done and allow you to (hopefully) manage to EITHER: save time by using something pre-made (with any customization you may need) invent a rounder wheel (or hotter water) If the target is just like the example: [Directory] Cabfolder1=C:\Documents and Settings\user name\My Documents Cabfolder2=C:\Documents_and_Settings\user_name\My_Documents Cabfolder3= You can also use directly Environment variables, example oneliner: Like: @echo off&FOR /F "delims=" %%A IN ('TYPE folderstore.ini ^|FIND /V "["') DO SET %%A Will make environment variables Cabfolder1 and Cabfolder2 with the correspondent values, but not Cabfolder3 (and it will actually reset the variable). But I miss the actual "final goal that you are looking for. I mean, do you need to "choose" among the various Cabfoldern or you want to selct last "defined" one or you just want to list the values (i.e. SET Cabfolder ) or what? jaclaz
  19. OT , but not much , loading and unloading a Registry hive is so old-fashioned Just for the record (and FYI), OFFLINE Registry Editing: http://reboot.pro/11212/ http://reboot.pro/11312/ jaclaz
  20. Then, I guess it's OK. I hope you have hugged TWO little furry creatures from Alpha Centauri to compensate for the whining. http://jaclaz.altervista.org/Projects/careware.html Very good For the record (and to help mantain the interconnectedness of all things) the thread is here: jaclaz
  21. They are all technical terms. But nothing actually difficult. Redundant Array of Inexpensive Disk. *Something* (either software or hardware) that makes more than one disk appear to the OS like a single device. http://en.wikipedia.org/wiki/RAID This has been used either for "speeding up" things (RAID 0), the OS writes to a device, but the actual writing is "divided" onto different hard disks, so that it is faster, or by increasing reliability by using redundancy, data is written at the same time on multiple disks, if one fails, you can get the data from the other one(s) (RAID 1 up to 6). A "combined approach" is RAID 10 or RAID 1+0. This is a set of (advanced) features a mainboard may have, connected with the usage of SATA hard disks (see below): http://en.wikipedia.org/wiki/Advanced_Host_Controller_Interface basically a SATA disk on a non AHCI board may not have NCQ (another new term ) i.e. Native Command Queing, which is one of the main things that makes a SATA hard disk "feel" faster. There are NO exixting hard disks that can take full advantage of the SATA 2.0 allowed data transfer speed (and only a very few can exceed the SATA 1.0 speed), usually a non-NCQ enabled SATA hard disk performs comparably with a ATA 6-PATA/133 disk. Flash disks like SSD are instead very often above SATA 1.0 and near the limits of SATA 2.0 (and thus SATA 3.0 has been introduced). These are different interfaces or communication protocols. SCSI is the oldest one, the "brain" of the interface is in the controller and NOT on the disk, it has been for years the fastest possible protocol/type of disk, now becoming obsolete with SATA and SAS (another new world) technology: http://en.wikipedia.org/wiki/Scsi http://en.wikipedia.org/wiki/Serial_attached_SCSI IDE means Integrated Drive Electronics (which you will also find as "ATA" or "ATAPI", this latter only for non-hard-disks, like CD's, tape drives, ZIP disks and the like or PATA) is a parallel interface for disks that have their controller on-board: http://en.wikipedia.org/wiki/Parallel_ATA http://en.wikipedia.org/wiki/Parallel_ATA#IDE_and_ATA-1 SATA is the (new, faster) serial version of IDE/ATA : http://en.wikipedia.org/wiki/Sata jaclaz
  22. Please find here OTHER things it doesn't mention (by design). I will repeat how we do not have here (and we are supposedly more up-to-date than Tom's hardware's article on this specific topic) any report about problems after updating the firmware to SD1A. This does not in any way guarantee it will work on your drive, nor that it is actually adviced. jaclaz
  23. Guess WHAT this (already mentioned) thread is about? jaclaz
  24. If I may , both the wheel and hot water have been invented. OT, but not much : http://en.wikipedia.org/wiki/AK-47 http://en.wikipedia.org/wiki/AK-47#Design_concept http://www.robvanderwoude.com/vbstech_files_ini.php http://www.robvanderwoude.com/battech.php#Files http://www.robvanderwoude.com/files/readini_nt.txt jaclaz
  25. You seem like having gone through ALL the loopholes ALREADY documented in the READ-ME-FIRST (which obviously you haven'ìt read first, as each and every problem you got - and solved : - was ALREADY there along with good advice on how to avoid them): Updating the firmware is NOT the higher priority, NO, just in case: BUT we don't have any reliable record about updating the firmware bricking the hard disk, so as long as you use a correct new firmware it should work allright. The article you linked to is dated january 2009 , in the meantime we went a little ahead of that . jaclaz
×
×
  • Create New...