Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com May 13 '11 at 13:37

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

1  
Why don't you want to use an external software like Recuva? –  user714965 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

5 Answers 5

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. http://lifehacker.com/393084/how-to-recover-deleted-files-with-free-software

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
2  
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 - cgsecurity.org/wiki/TestDisk_Download Step by step instructions are listed here - (cgsecurity.org/wiki/TestDisk_Step_By_Step) 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.