Im trying to create a script that recovers files in Windows using Photorec.
Should I use foward slash or back slash for the paths in Windows?
Foward slash
Code: Select all
photorec_win.exe /debug /log /logname file.log /d C:/Users/user/Documents/cases/1568795/QuickImageForensicsWPF/1568795_2020_5060_90_1_sofias_pc/photorec /cmd C:/Users/user/Documents/image_files/1568795/1568795_2020_5060_90_1_sofias_pc/1568795_2020_5060_90_1_sofias_pc.001 search
Code: Select all
photorec_win.exe /debug /log /logname file.log /d C:\Users\user\Documents\cases\1568795\QuickImageForensicsWPF\1568795_2020_5060_90_1_sofias_pc\photorec /cmd C:\Users\user\Documents\image_files\1568795\1568795_2020_5060_90_1_sofias_pc\1568795_2020_5060_90_1_sofias_pc.001 search