Syntax pattern from Microsoft Learn; replace placeholders and choose only one documented alternative before use.
attributes volume [{set | clear}] [{hidden | readonly | nodefaultdriveletter | shadowcopy}] [noerr]Displays, sets, or clears the attributes of a volume. This guide lists the documented syntax and parameters for attributes volume; check Microsoft Learn for version, role and execution-context requirements.
attributes volume [{set | clear}] [{hidden | readonly | nodefaultdriveletter | shadowcopy}] [noerr]The linked Microsoft Learn article is the upstream authority. Availability may depend on Windows release, role, optional feature or interactive tool context.
Syntax pattern from Microsoft Learn; replace placeholders and choose only one documented alternative before use.
attributes volume [{set | clear}] [{hidden | readonly | nodefaultdriveletter | shadowcopy}] [noerr]| Option / clause | Description |
|---|---|
set | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
clear | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
readonly | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
hidden | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
nodefaultdriveletter | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
shadowcopy | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
noerr | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.