A Windows, DOS and Unix command that removes a folder. The folder must be empty, and the command must be entered from the previous level or a non-related directory. RMDIR and RD are two forms of the command for Windows and DOS, but only RMDIR works in Unix. The following examples remove the HARRY subfolder within the PEOPLE folder. See
cmd abc's and
Unix commands.
DOS/WINDOWS
C:\PEOPLE>rmdir harry
C:\PEOPLE>rd harry
or
C:\WORK>rmdir \people\harry
C:\WORK>rd \people\harry
UNIX (Mac Example)
x:~people mac1>rmdir harry
or
x:~mac1>rmdir people/harry