Specifications
Version 2.0
207
vol
Summary
Displays the volume information for the file system that is specified by fs.
Usage
vol [fs] [-n <VolumeLabel>]
vol [fs] [-d]
Options
fs
The name of the file system.
VolumeLabel
The name of the file system. The following characters cannot be used: % ^ * +
= [ ] | : ; “ < > ? / . No spaces are allowed in the volume label.
-d
Empty volume label.
Description
This command displays the volume information for the file system that is specified by
fs. If fs is not specified, the current file system will be used. If -n is specified, then
the volume label for fs will be set to VolumeLabel. The maximum length for
VolumeLabel is 11 characters.
Status Codes Returned
SHELL_SUCCESS The action was completed as requested.
SHELL_INVALID_PARAMETER One of the passed in parameters was incorrectly formatted or its
value was out of bounds.
SHELL_SECURITY_VIOLATION This function was not performed due to a security violation
SHELL_NOT_FOUND The target file-system was not found
Examples
To display the volume of the current fs:
fs0:\> vol
Volume has no label (rw)
1,457,664 bytes total disk space
1,149,440 bytes available on disk
512 bytes in each allocation unit
To change the label of fs0:










