Batch file Help

Associate
Joined
27 Feb 2006
Posts
1,750
Location
Normanton
Im trying to add a format drive line into the start of a batch file but I keep getting the error
"Enter current volume label for drive D: An incorrect volume label was entered for this drive."

The code im using is

ECHO Y| Format d: /FS:NTFS /v:AimData /q

The drive d: already exists and is called AimData already all I want to do is quick format it.

Can any one help?

Cheers
 
Back
Top Bottom