Page 1 of 1

Photorec in Scripted Mode won't accept destination

Posted: 17 Oct 2018, 20:53
by macker20
Hi,

I'm using photorec from a bat file and when I set the destination with the /d switch I get "Unable to open file or device Results: No error"

The script looks like this.

Code: Select all

E:\testdisk-7.1-WIP.win64\testdisk-7.1-WIP/photorec_win.exe /cmd /dev/sda /d Results  partition_none,fileopt,everything,disable,jpg,enable,wholespace,search
The results folder is at E:/Results and I'm running in admin mode and from the E: root. I've tried E:/Results/ and E:/Results nothing seems to work. When I use interactive mode I can pick this location without a problem.

Thanks

Re: Photorec in Scripted Mode won't accept destination

Posted: 21 Oct 2018, 19:16
by cgrenier
Can you try

Code: Select all

E:\testdisk-7.1-WIP.win64\testdisk-7.1-WIP/photorec_win.exe /d Results /cmd /dev/sda partition_none,fileopt,everything,disable,jpg,enable,wholespace,search