Syntax pattern from Microsoft Learn; replace placeholders and choose only one documented alternative before use.
remove [{letter=<drive> | mount=<path> [all]}] [noerr]Removes a drive letter or mount point from the volume with focus. This guide lists the documented syntax and parameters for remove; check Microsoft Learn for version, role and execution-context requirements.
remove [{letter=<drive> | mount=<path> [all]}] [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.
remove [{letter=<drive> | mount=<path> [all]}] [noerr]| Option / clause | Description |
|---|---|
letter=<drive> | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
mount=<path> | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
all | 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. |
<drive> | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
<path> | 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.