Remove Directory - Erase Folders with Rmdir | Online Free DevTools by Hexmos
Remove directories easily with Rmdir. Delete empty or non-empty folders recursively and suppress prompts for quicker directory management. Free online tool, no registration required.
rmdir
Remove a directory and its contents. In PowerShell, this command is an alias of
Remove-Item
. This documentation is based on the Command Prompt (cmd
) version ofrmdir
. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/rmdir.
- View the documentation of the equivalent PowerShell command:
tldr remove-item
- 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