condor Posted October 24, 2010 Posted October 24, 2010 (edited) Once it was needed to install Windows 7 from USB disk, after many search on the net and many failed tutorial and software this one work.http://www.sevenforums.com/tutorials/2432-usb-windows-7-installation-key-drive-create.html?ltr=UHow can make the batch (.cmd, .bat) to run in order the same instruction?I try this:ECHO OFFCLS:MENUECHO.ECHO ...............................................ECHO PRESS in order from 1 to 10 or 2 for EXITECHO ...............................................ECHO.ECHO 1 - Starting DISKPARTECHO 2 - EXITECHO.SET /P M=Type 1, 2, then press ENTER:IF %M%==1 GOTO DISKPART:DISKPARTDISKPARTlist diskGOTO MENUAfter I RUN this batch she open DISKPART but not show the information be typing list disk.Any help? TksPosted in wrong section, someone to move to Programming (C++, Delphi, VB/VBS, CMD/batch, etc.) Edited October 24, 2010 by condor
jbm Posted October 24, 2010 Posted October 24, 2010 Once it was needed to install Windows 7 from USB disk, after many search on the net and many failed tutorial and software this one work.http://www.sevenforums.com/tutorials/2432-usb-windows-7-installation-key-drive-create.html?ltr=UHow can make the batch (.cmd, .bat) to run in order the same instruction?I try this:ECHO OFFCLS:MENUECHO.ECHO ...............................................ECHO PRESS in order from 1 to 10 or 2 for EXITECHO ...............................................ECHO.ECHO 1 - Starting DISKPARTECHO 2 - EXITECHO.SET /P M=Type 1, 2, then press ENTER:IF %M%==1 GOTO DISKPART:DISKPARTDISKPARTlist diskGOTO MENUAfter I RUN this batch she open DISKPART but not show the information be typing list disk.Any help? TksPosted in wrong section, someone to move to Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)use diskpart /s script.txt
condor Posted October 24, 2010 Author Posted October 24, 2010 use diskpart /s script.txtBut, if the usb disk is conected in another computer or in another USB port this script can assign the drive for both of computers of both of USB port?
jbm Posted October 24, 2010 Posted October 24, 2010 use diskpart /s script.txtBut, if the usb disk is conected in another computer or in another USB port this script can assign the drive for both of computers of both of USB port?I.m not an expert on diskpart and I'm not sure what youur asking.But if I understand correctly it shouldn't matter what usb portthe USB disk is plugged into. Yes the script will apply to the disksof the computer its plugged into.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now