File recovery for whole disk

Using PhotoRec to recover lost data
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read
Posts: 5
Joined: 24 Apr 2013, 13:49

File recovery for whole disk

#1 Post 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.

Sponsored links

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

Re: File recovery for whole disk

#2 Post by cgrenier »

You can use "wholespace". See for more options.