Attributes
DiskPart
This is from Microsoft Technet. If you want to see it at their site, click here
To access DiskPart, click here
Syntax attributes volume [{set | clear}] [{hidden | readonly | nodefaultdriveletter | shadowcopy}] [noerr}
Volume
Displays the attributes of the selected volume
set
Sets the specified attribute (hidden, red-only, nodefaultdriveletter, or shadowcopy volume) on the selected volume.
clear
Clears the specified attribute (hidden, red-only, nodefaultdriveletter, or shadowcopy volume) on the selected volume.
hidden
Specifies that the volume is hidden.
readonly
Specifies that the volume is read-only
nodefaultdriveletter
Specifies that the volume is a shadow copy volume.
noerr
For scripting only. when an error is encountered, DisPart continues to process commands as if the error did not occur. Without the noerr parameter, an error causes DiskPart to exit with an error code.