File recovery for whole disk

Using PhotoRec to recover lost data
Post Reply
Message
Author
codekingmaker
Posts: 5
Joined: 24 Apr 2013, 13:49

File recovery for whole disk

#1 Post by codekingmaker » 29 Apr 2013, 10:12

Hello,

I am implementing the recovery option through my c# code. For that, I am using the below codes,

ProcessStartInfo startInfo = new ProcessStartInfo("Photo_rec.exe");
Process RecoverProcess = new Process();

startInfo.Arguments ="/d C:\Users\Karthy\AppData\Local\Temp\ivjpys4j.jvs\recagent /cmd samsung options,mode_ext2,fileopt,everything,disable,jpg,enable,png,enable,bmp,enable,gif,enable,doc,enable,pdf,enable,txt,enable,mp3,enable,mov,enable,freespace,search";

RecoverProcess = Process.Start(startInfo);
RecoverProcess.WaitForExit();

The above code recovers only partial information because, the mode has specified has "freespace". What command is there for recover my whole disk.

Please let me know your comments.

Thanks in advance.

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 3569
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: File recovery for whole disk

#2 Post by cgrenier » 26 Oct 2013, 17:16

You can use "wholespace". See http://www.cgsecurity.org/wiki/Scripted_run for more options.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests