How to Delete a File at the Command Prompt
Though largely antiquated, the standard DOS command prompt has still managed to ship with every version of Windows, including the new Windows 7. This is because, though it is slightly harder to learn than the point-and-click environment of the Windows desktop, it is by far a faster, more-efficient tool capable of several tasks all in one window.
Click on the Windows "Start" button in the lower left side of the desktop.
Click the "Run" button on the resulting menu that pops up.
Type "CMD" in the text box that appears after clicking "Run."
Using the command prompt, navigate to the folder that holds your file to be deleted.
Type "Del," then the full name of the file you wish to delete. For example, "Del car.jpg" would delete a picture file called "car.jpg."
Tips & Warnings
- Using the command prompt offers a very useful tool for any times where a mouse may not be accessible.
- Though using the wild card symbol "*" before, after, or both in place of a file name allows for easy file deletion, it can often lead to accidental data loss.