.TH dosrm "" "" Command
.PC "Remove a file from an \*(MD file system"
\fBdosrm \fIdevice\fB:[/\fIdirectory/\fB]\fIfile\fR
.PP
.II "MS-DOS^remove a file"
.B dosrm
removes
.I file
from
.I directory
on 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 deletes all
.B .c
files on an \*(MD disk.
It assumes that you have defined
.B b
to be a device on which you have set an \*(MD file system:
.DM
	dosrm 'b:*.c'
.DE
.SH Files
\fB/etc/default/msdos\fR \(em Setup file
.SH "See Also"
.Xr "commands, " commands 
.Xr "dos," dos
.Xr "dosrmdir," dosrmdir
.Xr "rm" rm
.SH Notes
.B dosrm
does not understand compressed \*(MD file systems created by programs such as
.B Stacker
or \*(MD 6.0
.BR dblspace .
