Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have deleted one JavaScript file using Shift+Delete. Is there any way to recover the file without using any external software?

share|improve this question

migrated from May 13 '11 at 13:37

This question came from our site for professional and enthusiast programmers.

Why don't you want to use an external software like Recuva? – Kai May 13 '11 at 7:31
Not without external software no. You told it to delete it completely, a little like doing it from command line, it didnt go to recycle bin – BugFinder May 13 '11 at 7:31
unfortunately not Deepak. The file is still there on your hard drive it just looks liek free space that is why u need external software to recover it. It's like deleting a file from the recycle bin – The_Butcher May 13 '11 at 7:34

Recuva is a freeware Windows utility to restore files that have been accidentally deleted from your computer. This includes files emptied from the Recycle bin as well as images and other files that have been deleted from other locations also.

You may also try Undelete360 which is a simple file recovery program that can undelete files that have recently been deleted by accident. There is also a portable version available, in case if you don't want to install any software in your PC.

share|improve this answer

No, this is not possible without using external software

I found this interesting website explaining exactly what to do.

Think about one important thing: don't do anything on the HDD you deleted the files from (they can be overwritten) and install the external software also on another HDD so you don't overwrite the deleted data

share|improve this answer

Do you have Shadow Copy enabled?

If so, you could potentially recover it from the last Shadow Copy snapshot prior to the deletion.

Right click in the folder where the deleted file used to exist, and see if there is a "Restore previous versions" option in the context menu.

share|improve this answer
I'm not sure why this got a downvote. It's a great solution if you were fortunate enough to this enabled beforehand. – Austin ''Danger'' Powers Feb 26 '13 at 22:04

If the free-ed up blocks are not overwritten by some new files, then you may be still able to use TestDisk utility to recover files.

Instructions for use can be found here.

share|improve this answer
Nice first answer, but you can improve it by adding a link to the TestDisk utility. Also, you may want to consider explaining how to use it. – wizlog Feb 26 '13 at 1:56
Thanks for encouragement. Tool can be downloaded from - Step by step instructions are listed here - ( I recently recovered lot of data from different external hard drives which I connected and this tool worked fine for many different file systems. – – New-Bie Feb 26 '13 at 2:43
Excellent. I'll add that to your answer. – wizlog Feb 26 '13 at 3:07

If you're lucky, you could use a previous version of the containing folder. Just right-click on the containing folder and choose "Properties". Go to the tab "Previous Versions". If you're lucky, you can copy a previous version of your folder to another place and extract your Javascript file.

share|improve this answer

You must log in to answer this question.