You can use wildcards to rename groups of files. For example, to
change just the extensions of all files on drive B with the extension
.NEW to .OLD, type the following and press Enter:
REN B:*.NEW *.OLD
To
rename all files that begin with the same five characters
“MEMOS” but end with one varying character, type the following
and press
Enter:
REN MEMOS? MEMOS?.OLD
See your MS-DOS Reference Manual for more information on the
RENAME command.
Deleting Files
You can delete files you no longer need with the DEL (delete)
command. For example, to delete REPORT.AUG from drive B, type
the following and press
Enter:
DEL B:REPORT.AUG
To delete the file WRENCHES from drive B, type the following and
press
Enter:
DEL B:WRENCHES
You
can use wildcards to delete groups of files. For example, to delete
all files on the diskette in drive A, you could type the following and
press
Enter:
DEL A:*.*
Because deleting all files is a somewhat drastic operation, MS-DOS
prompts you to confirm your intentions when you use the *.*
wildcard combination with the DEL command.
A synonym for DEL is ERASE. Thus, you could substitute ERASE
for DEL in any of the preceding examples.
Using MS-DOS with Your Equity 386
5-9