tldr/pages/windows/rmdir.md

302 B

rmdir

Remove a directory and its contents.

  • 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