tldr/pages/windows/rmdir.md

17 lines
406 B
Markdown
Raw Normal View History

2018-01-28 12:10:59 +00:00
# rmdir
> Remove a directory and its contents.
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/rmdir>.
2018-01-28 12:10:59 +00:00
- Remove an empty directory:
`rmdir {{path\to\directory}}`
2018-01-28 12:10:59 +00:00
- Remove a directory and its contents recursively:
`rmdir {{path\to\directory}} /s`
2018-01-28 12:10:59 +00:00
- Remove a directory and its contents recursively without prompting:
`rmdir {{path\to\directory}} /s /q`