dosrm(1) dosrm(1)
NAME
dosrm - delete MS-DOS files
SYNOPSIS
dosrm a:dosfile ...
DESCRIPTION
dosrm deletes one or more MS-DOS files from an MS-DOS floppy disk.
Full path names must be specified for the files to be deleted. Note
that there is no protection against the unauthorized deletion of a
file, and deleted files cannot be retrieved.
a:
A: As in DOS conventions, a: or A: designates the disk drive via
which the MS-DOS floppy disk is addressed. This string must be
prepended to each DOS path name. a: or A: addresses the first
floppy disk drive. If a second drive exists, it may be addressed
as b: or B:.
dosfile
Name or path name of the MS-DOS file in the MS-DOS file system.
The use of wild cards (*, ?, [ ]) is permitted.
LOCALE
The LCMESSAGES environment variable governs the language in which
message texts are displayed. If LCMESSAGES is undefined or is defined
as the null string, it defaults to the value of LANG. If LANG is like-
wise undefined or null, the system acts as if it were not internation-
alized.
The LCALL environment variable governs the entire locale. LCALL
takes precedence over all the other environment variables which affect
internationalization.
EXAMPLES
Example 1
You want to delete the MS-DOS file "HORSES".
$ dosrm a:horses
Example 2
You want to delete the MS-DOS file with the path name "BODY/HEART"
from the MS-DOS floppy disk.
$ dosrm a:body/heart
Page 1 Reliant UNIX 5.44 Printed 11/98
dosrm(1) dosrm(1)
Example 3
You want to delete the MS-DOS files "MAIL", "TELLER" and "TOKEN" from
the MS-DOS floppy disk.
$ dosrm a:mail a:teller a:token
Example 4
You want to delete the MS-DOS files with the path names
"FLOWERS/CLIVIA", "ANIMAL/MAMMAL/HEDGEHOG", and "STONES/GRANITE".
$ dosrm a:flowers/clivia a:animal/mammal/hedgehog a:stones/granite
NOTES
If a directory contains more than 254 file names, the dosrm command
may produce the error message "Error - too many filenames". In this
case, the user must limit the number of file names involved (for exam-
ple by not using "*.*").
Page 2 Reliant UNIX 5.44 Printed 11/98