4

I have deleted a JavaScript file using Shift+Delete. Is there any way to recover the file? I prefer not to use any external software if possible. I have Windows XP.

0

5 Answers 5

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.

2

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.

1
  • I'm not sure why this got a downvote. It's a great solution if you were fortunate enough to this enabled beforehand. Feb 26, 2013 at 22:04
1

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

1

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.

2
  • 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, 2013 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, 2013 at 2:43
0

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.

You must log in to answer this question.