Delete all Files in a Subdirectory There are two rules we will need to follow before removing a subdirectory. |
All files in the subdirectory must be deleted. |
|
NOTE: |
Never type DEL *.* when we are in the root directory. It will destroy all DOS files that are necessary to boot and operate the computer. |
|
Directions: |
1. Type: cd \info and press Enter. |
2. Type: dir and press Enter. |
3. Three files should be listed. |
4. Type: del *.* and press Enter. |
5. DOS will ask you if you are sure? (Y/N) |
6. Type: Y and press Enter. |
|
Now that our subdirectory is empty, we can delete the subdirectory. |