PhotoRec not generating a .log file

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
Locked
Message
Author
ag25
Posts: 12
Joined: 05 Mar 2015, 16:52

PhotoRec not generating a .log file

#1 Post by ag25 »

The wiki says PhotoRec should be able to generate a .log file using the /log parameter.

I'm unsure of how to do this, and am unable to generate a .log file to see if I am having any errors.

Thanks
stumpyuk
Posts: 16
Joined: 19 Sep 2012, 11:41

Re: PhotoRec not generating a .log file

#2 Post by stumpyuk »

What O/S are you using? What version of photorec are you using? What have you tried so far? You just simply append the /log switch when invoking photorec from the command line...
ag25
Posts: 12
Joined: 05 Mar 2015, 16:52

Re: PhotoRec not generating a .log file

#3 Post by ag25 »

stumpyuk wrote:What O/S are you using? What version of photorec are you using? What have you tried so far? You just simply append the /log switch when invoking photorec from the command line...

Windows
PhotoRec 7.0 WIP

Not tried anything since I'm not sure how to do it.

I get a log when I use the GUI version as it seems to generate it automatically.
stumpyuk
Posts: 16
Joined: 19 Sep 2012, 11:41

Re: PhotoRec not generating a .log file

#4 Post by stumpyuk »

Either put photorec.exe in your path (e.g \Windows\System32) and invoke with:
photorec.exe /log

OR

cd to where your executable is and invoke with:
photorec.exe /log


Stumpy
Locked