Sunday, March 26, 2006

How to delete an undeletable file in Windows XP

If you try to delete a file and you get the file is in use and cannot delete message. You can delete the file using this method.
Start>Run
Type cmd
This opens the command prompt. Leave that windows open.
Now Start>Run
Type taskmgr.exe. This opens the task manager. Now go to the process tab, click on explorer.exe and click end process. Now in the command prompt window go to the directory where the undeletable file is using DOS commands. Delete the file using Del filename . The file will be deleted. Now go back to taskmanager window. File>New Task. Type explorer.exe. Click OK to restart the GUI shell.

No comments: