October 24, 201015 yr 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, 201015 yr by condor
October 24, 201015 yr 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
October 24, 201015 yr Author 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?
October 24, 201015 yr 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.
Create an account or sign in to comment