How to include space in drive label using command-line MS format?
- by Leif Carlsen
The obvious-to-me approaches fail.
# format h: /fs:ntfs /q /y /V:512MB Disk
Invalid parameter - Disk
# format h: /fs:ntfs /q /y /V:"512MB Disk"
Invalid parameter - Disk"
# format h: /fs:ntfs /q /y /V:"512MB\ Disk"
Invalid parameter - Disk"
# format h: /fs:ntfs /q /y /V:512MB\ Disk
Invalid parameter - Disk
Okay, so label works after-the fact.
# label h: 512MB Disk
#
But how to do it using format? Am I missing some kind of escape sequence?