Command: rmdir

  RMDIR removes (deletes) an empty directory.

Syntax:

  RMDIR [drive][path]pathname
  RMDIR [/?]
        drive     The drive letter where you want to delete a 
                  directory, e.g. C:
        path      The pathname which already exists, e.g. if you are 
                  already in a directory.
        pathname  The name of the directory you want to delete, 
                  e.g. \example.

[Main menu] [top] (Syntax) [Options] [Comments] [Examples] [See also] [File]

Options:

  /?  Shows the help

[Main menu] [top] [Syntax] (Options) [Comments] [Examples] [See also] [File]

Comments:

  For performance reasons RMDIR only overwrites the first letter of
  each directory name / filename by a '?'. See DEL or ERASE or
  DELTREE for more information. You can also use RD instead of RMDIR.
  RMDIR will only delete empty directories (no files or directories 
  inside)! Do not forget to remove hidden files or directories!
  In DOS directories are shown in capital letters and have NO ending.
  RMDIR is a command internal to command.com and needs no 
  other file in order to work.

[Main menu] [top] [Syntax] [Options] (Comments) [Examples] [See also] [File]

Examples:

  You have an EMPTY directory C:\test\test2
  rmdir C:\test\test2

[Main menu] [top] [Syntax] [Options] [Comments] (Examples) [See also] [File]

See also:

  attrib
  cd
  cdd
  chdir
  del
  deltree
  erase
  md
  mkdir
  rd
  undelete

[Main menu] [top] [Syntax] [Options] [Comments] [Examples] (See also) [File]

File:

  Please read this command's lsm file also.
  You will find the updated version (internet) here and
  the version described in this manual page here.
  The lsm file contains information about the name of the programmer,
  the download site, and some other command related information.

[Main menu] [top] [Syntax] [Options] [Comments] [Examples] [See also] (File)


  Copyright © 1998 Jim Hall, updated 2007 by W. Spiegl.

  This file is derived from the FreeDOS Spec Command HOWTO.
  See the file H2Cpying for copying conditions.