Diskpart script fails
I have a diskpart script that used to work fine in XP. How I am trying it in Windows 7 and the cmd window appears for a nonsecond and the script was not run. I tried to add some 'pauses' in there to determine what happened, but that didn't help.
If I just type in the commands one line at a time using Recovery, CMD it works fine.
What can I do?
you need to split this to diskpart and a separate format task for legacy drives
for diskpart script use:
select disk 0
create partition primary size=4000
create partition primary
select partition 2
then create a bat script to run after that
format /q /y /fs:ntfs z:
format /q /y /fs:ntfs c: