New
#31
Last part for GPT !
DISKPART> help attributes volume
Displays, sets, or clears volume attributes for the selected volume.
Syntax: ATTRIBUTES VOLUME [SET | CLEAR]
[HIDDEN | READONLY | NODEFAULTDRIVELETTER | SHADOWCOPY] [NOERR]
SET Sets the specified attribute (HIDDEN, READONLY, and
NODEFAULTDRIVELETTER or SHADOWCOPY) for the selected volume.
CLEAR Clears the specified attribute (HIDDEN, READONLY,
NODEFAULTDRIVELETTER or SHADOWCOPY) from the selected volume.
HIDDEN Specifies that the volume is hidden.
READONLY Specifies that the volume is read-only.
NODEFAULTDRIVELETTER
Specifies that the volume does not receive a drive letter by
default.
SHADOWCOPY Specifies that the volume is a shadow copy volume.
NOERR For scripting only. When an error is encountered, DiskPart
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.
On basic master boot record (MBR) disks, the HIDDEN, READONLY, and
NODEFAULTDRIVELETTER attributes apply to all volumes on the disk.
On basic GUID partition table (GPT) disks, and on dynamic MBR and GPT
disks, the HIDDEN, READONLY, and NODEFAULTDRIVELETTER attributes apply
only to the selected volume.