Sorry if this is a duplicate from other questions but I wasn't able to solve my problem referring to this article here and here.
I'm trying to configure FoxitReader 8.0 as default external viewer for TeXstudio (2.11.2) on Windows 10.
I tried Options
–> Configure TeXstudio
–> Commands
–> External PDF Viewer
–> C:\Program Files (x86)\Foxit Software\Foxit Reader\FoxitReader.exe
and
Options
–> Configure TeXstudio
–> Build
–> [add user command]
–> txs:///view-pdf-external
but I still get
Error: Could not start the command: C:\Program Files (x86)\Foxit Software\Foxit Reader\FoxitReader.exe
Any help would be much appreciated.
Best Answer
Solution using @naphaneal's and @PhilippImhof's comments:
In
Options
-->Configure TeXstudio
-->Commands
-->External PDF Viewer
change this
C:\Program Files (x86)\Foxit Software\Foxit Reader\FoxitReader.exe
to this
"C:\Program Files (x86)\Foxit Software\Foxit Reader\FoxitReader.exe" %.pdf
or this
"C:\Program Files (x86)\Foxit Software\Foxit Reader\FoxitReader.exe" %.pdf /A nolock=1
to avoid Foxit Reader to lock pdf files.