diskpart + batch....
Posted: 28 May 2009 19:57
Hey everyone,
i have been working on this script that will make a usb drive bootable (yes, its possible) and ive been running into problems with variables in the diskpart script. Is this even possible???? i hope so...cuz i dont want to go to c++ =/
by variables i mean:
in the batch file have something like
and then in the drive.txt file
**i know there isnt a "drive" flag for diskpart, its the idea thats im getting at
i have been working on this script that will make a usb drive bootable (yes, its possible) and ive been running into problems with variables in the diskpart script. Is this even possible???? i hope so...cuz i dont want to go to c++ =/
by variables i mean:
in the batch file have something like
Code: Select all
echo what letter is the drive?:
set /p u=
diskpart /s drive.txt
and then in the drive.txt file
Code: Select all
select drive %u%
**i know there isnt a "drive" flag for diskpart, its the idea thats im getting at