Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / operating-systems / Windows

A simple way to delete an undeletable file

2.67/5 (3 votes)
18 Nov 2011CPOL 21.9K  
A simple way to delete an undeletable fileSTEPS>Go to run type cmd or Open a Command Prompt window and leave it open.>Close open programs.>Click Start, Run and enter TASKMGR.EXE or Press CTRL+SHIFT+ESC>Go to the Processes tab and End Process on Explorer.exe.>Leave Task...

A simple way to delete an "undeletable" file


Steps

  • Go to run type cmd or Open a Command Prompt window and leave it open.
  • Close open programs.
  • Click Start, Run and enter TASKMGR.EXE or Press CTRL+SHIFT+ESC
  • Go to the Processes tab and End Process on Explorer.exe.
  • Leave Task Manager open.
  • Go to the Command Prompt window and change to the directory where the undeletable file is located in.
  • At the command prompt type DEL <filename> where <filename> is the file you wish to delete.
  • Go back to Task Manager, click File, New Task and enter EXPLORER.EXE to restart the GUI shell.
  • Close Task Manager.


:cool:

NOTE
Remember to place your ratings ;)

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)