Problem solve Get help with specific problems with your technologies, process and projects.

Deal with deleted files

Save those accidentally deleted files. This tips explains how.

Deal with deleted files
Grant Miller

How many times have you had a user accidentally delete a file, or not save one before a momentary power outage took the file to electronic never-never land? This tip discusses some tools that can help with such a situation. The tip is excerpted from InformIT.

There may be times when a file or folder is deleted by accident, either by you or a careless user. What happens next and how do you recover them if needed?

The files and folders that are deleted are transferred to the Recycle Bin, where they are held until you either empty the Recycle Bin or they are automatically deleted by the Recycle Bin based on the settings for the amount of disk space to use and the amount of time a file or folder has been there.

When a file or folder is removed from the Recycle Bin, or if it has been deleted from the command prompt or by another application's Delete function, it can no longer be found in the Recycle Bin. The file or folder is not actually deleted off the hard drive. That's the good news. Getting at it is the hard part. The file or folder is renamed, with the first letter being changed to a tilde (~), which hides the file. It is stored in the same location on the hard drive until the hard drive needs to free up space, at which point it is permanently deleted from the hard disk.

There are third-party tools that you can use that assist in recovering these deleted files. Undelete 2.0 from Executive Software is a good tool ( Undelete looks for files that have a tilde as the first letter, so if you use Undelete immediately after a file has been deleted, you have a very good chance of recovering that file (because the operating system may not have over-written the space the deleted file was occupying).

However, how can you search for a file that was not saved? Take for example, a Word file that was not saved at all. In this case, there is no file that you can search for in the Recycle Bin, nor can you use third-party software to find the file with the ~ in front of it because there was no file created to begin with. This is a job for DiskProbe, which is part of Windows 2000 Support Tools. You can find the setup executable on the Windows 2000 CD (SupportTools) and on the Windows 2000 Resource Kit CD. DiskProbe asks you to enter text to search for and locates the sector that the text was written to. When the file is found, you can save it and then open it with the same application that created it.

To read the entire tip, click over to Inform IT. You'll have to register there, but the registration is free.

Did you like this tip? E-mail to give us a piece of your mind.

Related Book

Windows 2000 Hardware and Disk Management, 1/e
Author : Curt Simmons
Publisher : Prentice Hall
Published : Jun 2000
Windows 2000 Hardware and Disk Management is 100% focused on helping IT professionals and users make the most of hardware and disks with Windows 2000. Covering both Windows 2000 Server and Professional, this book delivers practical examples, real-world techniques, and expert insight-in a handy, quick-reference format that delivers the right solution, right when you need it!

Dig Deeper on Windows Server storage management

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.