I'm trying to create a batch file for Diskpart that requires user input, for example I want to use the command "list disk" and require the user to select a disk.
I have used this disk part command:
diskpart /s"scriptname".txt
And created the necessary text file eg:
LIST DISK
SELECT DISK 1
CREATE PART PRIMARY
SELECT PART 1
ACTIVE
ASSIGN
FORMAT FS=NTFS
EXIT
What would be the replacement for "SELECT DISK 1" if I wanted the user to input that data?
Many Thanks.