tldr/pages/windows/rmdir.md

17 lines
411 B
Markdown
Raw Normal View History

2018-01-28 12:10:59 +00:00
# rmdir
> Remove a directory and its contents.
2019-08-22 13:37:57 +01:00
> More information: <https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/rmdir>.
2018-01-28 12:10:59 +00:00
- Remove an empty directory:
`rmdir {{path/to/directory}}`
- Remove a directory and its contents recursively:
`rmdir {{path/to/directory}} /s`
- Remove a directory and its contents recursively without prompting:
`rmdir {{path/to/directory}} /s /q`