tldr/pages/windows/rmdir.md
2019-08-22 12:37:57 +00:00

411 B

rmdir

Remove a directory and its contents. More information: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/rmdir.

  • 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