Solved

Windows, undelete a file

Posted on 2013-11-06
5
211 Views
Last Modified: 2013-11-14
I am using Windows 7

I deleted a file from the command console

How can I UN-delete a file from the command console ?

Thanks
0
Comment
Question by:Los Angeles1
  • 3
5 Comments
 
LVL 24

Assisted Solution

by:aadih
aadih earned 250 total points
ID: 39627573
Download, preferably using another computer, Recuva from:

http://www.piriform.com/recuva >

and without using your computer to do any other thing, install and run it.

You could also try Wise Data Recovery 3.42 (portable) from:

http://www.wisecleaner.com/download.html >
0
 
LVL 19

Assisted Solution

by:Miguel Angel Perez Muñoz
Miguel Angel Perez Muñoz earned 125 total points
ID: 39627574
You can try with recover, or installing third party recovering tool.

Recover usage is: recover drive:path\filename
0
 
LVL 24

Assisted Solution

by:aadih
aadih earned 250 total points
ID: 39627579
Recuva portable version is at:

http://www.piriform.com/recuva/features/portable-version >
0
 
LVL 95

Accepted Solution

by:
Lee W, MVP earned 125 total points
ID: 39628105
There is no built-in way I've ever seen or heard of that can allow you to undelete a file from the command line.  There are possibly third party utilities, but I don't know them since I don't use them and never had a need to - in General, GUI works best.

Unlike GUI deleted files (assuming no special action was taken at the time of deletion) that go to the Recycle Bin, command line deleted files are PERMANENTLY deleted when you delete them (in the sense that the file system is told to destroy record of them instead of moving them to a recovery area that requires one more step to permanently remove.

If you've deleted from the command line and want to recover the file, there are three options I see:
1. Check if Volume Shadow Copy is enabled (it should be and if it isn't enable it for the future).  Then restore a "previous version"
2. Go to your backups
3. Use a third party utility - BE CAREFUL - the mere act of installing the third party utility could permanently delete the file in an unrecoverable way.  For this reason, you generally want to install the recovery software to a different drive and/or, if neither of the other two options are possible, POWER OFF (do NOT shut down, push the power button and hold it in or pull the power cord) the machine with the deleted file and then boot to a boot disk with recovery software software or remove the drive and install it in another system with recovery software already installed.  EVERY SECOND THE PC IS ON, other background services are potentially writing data and COULD end up writing data to the deleted file's location on disk making in unrecoverable.  Even a shutdown (especially a shutdown) flushes out data and causes many writes which is why a hard power off is preferable in this circumstance only.  It allows a greater chance at recovery.  But understand, once deleted, recovery is NOT GUARANTEED!
0
 
LVL 24

Expert Comment

by:aadih
ID: 39628135
Great information, leew. Much thanks.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many times while working on a computer regardless of any Operating System, lag and crashes seem to creep in, hindering your working speed. Sometimes, it can also cause your work to be lost unexpectedly and as a result, you are unable to meet your de…
This article describes how to set permissions to allow a limited-permissions user to start and stop a particular System Service.   It is always best to give users only the permissions that they need to perform their job, so tweaking particular permi…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now