Undeletable file and folder deleting from CMD

Posted: August 25, 2011 in Tips and Tricks

1. – Open an elevated command prompt

Start > Search “cmd” > Right Click cmd.exe > Run as Administrator

2. – Leave Command prompt open; Open task manager

3. – End process “explorer.exe”

4. – Switch back to command prompt

5A. – FILE – Change to the directory of your file and delete it.

First run this line: cd “PATH OF YOUR FILE”
i.e. cd “%USERPROFILE%”\Downloads”
Now run this line: del filename.extension
i.e. del filename.mkv

5B. – FOLDER – Delete the folder.

Enter Command: RD /S /Q [DRIVE:]\PATH\TO\FOLDER
i.e
RD /S /Q C:\Users\[username]\Downloads\FOLDERNAME

6. – Switch back to task manager

7. – Start “explorer.exe” by clicking “File” menu at Taskbar and click “New Task(Run…)” and then type this “explorer” in the box….. then finished.

Or if this wouldn’t help for some files….. check this website;

Windows 7 Core file deleting Style

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.