DOS Directories and Files
 
Delete a Single File
 
Periodically it is a good idea to delete files from the hard disk which are no longer needed or used. DOS makes it easy to remove these files with the DELETE command, a.k.a. DEL.
 
Directions:
1. Type: cd.. and press Enter.
2. The prompt shows us that we are back in the root directory.
3. Type: del sales.bob and press Enter.
4. Type: dir Sales.bob and press Enter.
5. Sales.bob is no longer listed because it has been deleted.