How to delete an undeleteable files
At times, you must have come across such situations where a file doesn’t get deleted, no matter what you do. So, the following instructions will help you get out of such situations.
Here in this tutorial, I’ll use test.avi, which doesn’t get deleted. Now open Command Prompt and leave it open there. Close all the other programs (if any opened). Open Task Manager and end the process Explorer.exe. DON’T close the Task Manager, leave it open and now go back to Command Prompt. Change the directory to where test.avi is saved (I hope you know Command Prompt, anyway, use the CD command).
After changing the directory, type DEL <filename>, where <filename> will be test.avi (in this case). So the command becomes DEL test.avi. After typing just press Enter and the file will be deleted. :) Simple, isn’t it?
Oh, yeah I forgot, I made you quite the GUI shell. To restart it, go back to Task Manager and go to File > New task and enter Explorer.exe and press Enter.
I hope that solves this problem and you have enjoyed reading this.