Technical data

Managing a DOS File System
303561-A Rev 00
5-23
Deleting a File
Use the
delete
command to delete files that you specify. You can use the wildcard
characters
*
and
?
when issuing the
delete
command.
Enter the following to delete a file in the present working directory:
delete
<filename>
You can enter
del
or
delete
when deleting a file.
Examples:
Caution:
You cannot recover a file after it is deleted. The
delete
command
does not prompt you to verify a deletion.
Note:
You cannot delete a file whose attributes are
h
(for hidden) or
s
(for
system). See “Changing File Attributes
,” on page 5-20 for instructions on
changing these protections.
delete alt.cfg
Deletes the
alt.cfg
file in the present working directory
delete *.log
Deletes all files with the
log
file name extension in the present
working directory
delete ???.log
Deletes all files with a three-character file name and a
log
file name
extension