I'm trying to get ltx2any running with TexStudio under Windows 10. I have ltx2any installed in "D:\Programs\Office\Latex\ltx2any", and put the folder in the PATH environment. Running "ltx2any" on a *.tex file in a command prompt works fine. However, if I try to configure a user command in TexStudio, such as
"D:/Programs/Office/Latex/ltx2any/ltx2any" -synctex -c %
I just get the following error:
Error: Could not start the command: "D:/Programs/Office/Latex/ltx2any/ltx2any" -synctex -c "file"
I've tried various versions of the user command, with and without the path to the file, or pointing it to ltx2any.rb, but none of these seem to allow me to run ltx2any from within TexStudio. Does anybody have any helpful tips for how to resolve this?