0

I have made batch file that can run diskpart but I want to do the following commands:

diskpart> list volume
diskpart> select volume 2
diskpart> remove letter d
1
  • Drum Role - The question is?
    – Ed Heal
    Sep 29, 2013 at 9:04

1 Answer 1

1

Put your three commands in a text file:

list volume
select volume 2
remove letter d

Then pass the text file to diskpart:

diskpart.exe /s C:\mycommands.txt

You must log in to answer this question.