| Read this whole guide offline with no ads, for a very low price! |
Click Here!
|
|
|
The Del / Erase Command
Both of these commands achieve the
same goal, namely the removal of files from the hard drive. The del
command (short for delete) is more widely used than
erase, probably due to the fewer number of keystrokes required to type
it. (All three commands are valid.)
Del accepts either a filename or
a wildcard as the target for deletion, specified in the same style as
the copy command. Be careful when using del with wildcards, as it is
very easy to delete a large amount of files by mistake. Del does
not prompt for confirmation, except in one specific circumstance
when using the *.* wildcard, which pattern matches every file.
Prior to DOS Version 3, even this special circumstance did not exist.
|