[quote="natelabo"]
Code: Select all
"C:\Users\torrentuser\torrenthandler.bat" "%D" "%N" "%L" "%C" "%F"
[/quote]
This is the Correct Syntax Structure.
Quickly confirmed it wasn't an application fault with this test script.
Code: Select all
echo Arg 1: %1 >> qbittorrentoutput.txt
echo Arg 2: %2 >> qbittorrentoutput.txt
echo Arg 3: %3 >> qbittorrentoutput.txt
echo Arg 4: %4 >> qbittorrentoutput.txt
echo Arg 5: %5 >> qbittorrentoutput.txt
And this launch parameter:
Code: Select all
"C:\Folder1\Folder Space\torrenthandler.bat" "%D" "%N" "%L" "%C" "%F"
Please make sure your batch file actually works/the data you're passing to it with qbittorrent is what the script expects to see.
You can quickly check whether scripts execute properly by deleting a small file from a completed torrent and forcing a recheck.
The script i posted above will drop a .txt file into the same folder as the .bat file when executed that contains the values qbittorrent returns for those variables, it may be returning something unexpected!?
If your script moves files around or renames things you could have a permissions error, try running qbittorrent as administrator if you are not already?