RMDIR
Removes a directory.
Syntax:
RMDIR <directory>
or
RD <directory>
<directory>
- The directory you want to remove. This
can be a full directory path or a relative directory path.
Description
RMDIR attempts to remove the specified directory. It can only remove a directory if the directory is empty and is not currently in use by any program.
RD works exactly the same way as RMDIR.
For Example:
RMDIR mydir
-
Will attempt to remove directory mydir
RMDIR C:\somefolder\otherfolder
-
Will attempt to remove directory otherfolder
RD mydir
- Will attempt to remove directory mydir
RD C:\somefolder\otherfolder
-
Will attempt to remove directory otherfolder