.TH dosrmdir "" "" Command
.PC "Remove a directory from an \*(MD file system"
\fBdosrmdir \fIdevice\fB:\fIdirectory\fR
.PP
.II "MS-DOS^remove a directory"
.B dosrmdir
removes
.I directory
from an \*(MD file system.
.I device
names the floppy-disk or hard-disk device that holds the file system to be
modified, e.g.,
.BR /dev/fha0 .
You can also build a file of aliases so that
you can access the drives as
.BR a ,
.BR b ,
etc.
For details, see the Lexicon entry for
.BR doscp ,
which explains how to set up defaults for the \fBdos\fR family of commands.
.SH Example
The following command removes directory
.BR foo .
It assumes that you have defined
.B a
to be a device in which you have set a disk with an \*(MD file system:
.DM
	dosrmdir c:/foo
.DE
.SH Files
\fB/etc/default/msdos\fR \(em Setup file
.SH "See Also"
.Xr "commands, " commands 
.Xr "dos," dos
.Xr "dosrm," dosrm
.Xr "rmdir" rmdir
.SH Notes
.B dosrmdir
does not understand compressed \*(MD file systems created by programs such as
.B Stacker
or \*(MD 6.0
.BR dblspace .
