Solved Automatically boot diskpart from WinPE

Microsoft Windows server 2008 r2 enterpr...
July 24, 2014 at 06:26:51
Specs: Any, ANY
Good Afternoon,

I have created a diskpart .bat and .txt file containing the following commands:

Clean_Disk.bat:

DISKPART.EXE /S "COMMAND.TXT"
EXIT

Command.txt

select disk 0
clean
create partition primary
assign letter=C
active
format fs=ntfs label=Windows quick

I have a WinPE disk I have created; and I need it to call the batch file (Clean_Disk.bat script) automatically and execute the commands within the Command.txt file. How might I go about making this happen?

Your help is much appreciated.

Kind Regards
Tor Fey


See More: Automatically boot diskpart from WinPE

Report •


#1
Report •
Related Solutions


Ask Question