rmdir

Windows CMD · Directories · available in the simulator · Also: rd

What it does

Removes an empty directory (alias of rd).

Syntax

rmdir [/s] [/q] [unidad:]ruta

Options and parameters

  • /s

    Deletes the entire directory tree.

  • /q

    Quiet mode.

  • /S

    Removes the directory and all its contents.

  • /Q

    Quiet mode when used with /S.

Usage examples

  • rmdir sistemas
  • rmdir sistemas /s /q
  • rmdir /s /q carpeta

Notes and common mistakes

  • Equivalent to rd.
Practise rmdir

Related commands