• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 618
  • Last Modified:

How to regain deleted files??

I'd like to know how I recreate deleted files. The files are not yet deleted from the disk. So in theory I should be alble too recreate them. I dont mind writing a program to do so. I just need to know how to do so.
1 Solution
Sorry to ask the obvious, but have you tried recovering them from the recycle bin?

Adam LeinssCommented:
Please be more specific.  If the "files are not yet deleted from the disk", how can you recreate a file that has not be deleted to save it from deletion??
If you mean that you hit Shift+delete or del from dos, use undelete filename. This should be done as soon as possible after the deletion so as to minimize the possibility of the file being overwritten.
Deletion in dos (and win 9x) is merely changing a character in the FAT to show that the file is deleted.
Of course, bschews answer may be even more appropriate if you deleted the file using explorer.
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

open the recycle bin.
highlight the file.
click on RESTORE FILE.

If you want to write a program, the only thing that DOS does to indicate a deleted file is to erase the first letter of the file name in the FAT.  If none of the sectors have been overwritten, simply supply the first letter for the file and you are recovered.  There are Several programs already out there that will do just that for you.  My favorite is on the Norton disk. This will work on files deleted from DOS or Windows, even if it has been purged from the recycle bin.
Micke_CapAuthor Commented:
Perhaps I should add that the files are deleted from the Recyclebin.
Get out the Norton Recovery Disk and let it have at it. Most Disk toolkits have a simmilar program. Also is you have access to MS-Dos 6.x, this also has a basic undelete program, again, you will have to specify the first letter of the filename.

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now