Deleting Data

To delete a file, type DEL and then the full name (including the extension, if any) of the file you wish to delete. For example, to delete the file named APRIL.TXT from the current directory, type the following and press Enter:

DEL APRIL.TXT

You can delete all files in the current directory at once by typing the following and pressing Enter:

DEL *.*

For your protection, when you type DEL *.* MS-DOS asks if you are sure that is what you want to do. If you are sure, press Y, then Enter.

You can also use the ERASE command to delete files. ERASE works exactly like the DEL command.

Using the MS-DOS Shell Program

MS-DOS 4.01 provides a new Shell feature that lets you run programs and choose operating system commands from menus instead of the MS-DOS command prompt. The Shell feature is designed for both new and experienced users of MS-DOS. It lets you tailor your system to your own needs and manage your programs and data more efficiently.

See your MS-DOS Shell User’s Guide for complete details.

3-24 Using MS-DOS With Your Computer