RMDIR, RD

This command removes a directory.

RMDIR [/S] [/Q] path
RD [/S] [/Q] path

Parameters

  • /S
    Removes all directories and files in the specified directory, in addition to the directory itself. Use the /S parameter to remove a directory tree.
  • /Q
    Specifies a quiet mode. RMDIR does not ask for confirmation before RMDIR removes a directory tree with /S.
  • path
    Specifies the path for the directory.

See Also

Command Processor Commands | Command Processor Shell

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.