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 https://www.cgsecurity.org/testdisk.pdf
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: 4395
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 3 guests