Page 1 of 1

File recovery for whole disk

Posted: 29 Apr 2013, 10:12
by codekingmaker

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);

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.

Re: File recovery for whole disk

Posted: 26 Oct 2013, 17:16
by cgrenier
You can use "wholespace". See for more options.