First of all, Filebot is a amazing piece of software.

I got filebot working straight from the start by using the finished AMC code. Then i wanted to hide those CMD-pop-ups when torrents finished downloading because it's quite annoying when playing games

So i went on to try to do a batch script but I'm having huge problems with the parameters passing on the Windows Command Prompt Path??
So this is the command i used in uTorrent before I went on to batch scripting, it works just fine!
Code: Select all
filebot -script fn:amc --output "H:/Movies & TV Save/Torrent" --action copy --conflict skip -non-strict --log-file amc.log --def "movieFormat=H:/Movies & TV Save/Torrent/Movies/{file.parentFile.name}/{fn}" --def subtitles=sv,en --def clean=y --def unsorted=y music=y artwork=n "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D"
uTorrent program run command
Code: Select all
"C:\filebot_utorrent.bat" "%S" "%N" "%K" "%F" "%D" "%L"
Code: Select all
rem Define variables
set ut_state=%1
set ut_title=%2
set ut_kind=%3
set ut_file=%4
set ut_dir=%5
set ut_label=%6
"C:\Program Files\FileBot\filebot.exe" -script fn:amc --output "H:/Movies & TV Save/Torrent" --action copy --conflict skip -non-strict --log-file amc.log --def "movieFormat=H:/Movies & TV Save/Torrent/Movies/{file.parentFile.name}/{fn}" --def subtitles=sv,en --def clean=y --def unsorted=y music=y artwork=n %ut_label% %ut_state% %ut_title% %ut_kind% %ut_file% %ut_dir%
Code: Select all
Run script [fn:amc] at [Fri Feb 12 09:53:43 CET 2016]
Parameter: movieFormat = H:/Movies & TV Save/Torrent/Movies/{file.parentFile.name}/{fn}
Parameter: subtitles = sv,en
Parameter: clean = y
Parameter: unsorted = y
Parameter: music = y
Parameter: artwork = n
Argument: C:\Windows\System32
Argument: C:\Windows\System32\5
Argument: C:\Windows\System32\Those.Who.Cant.S01E01.HDTV.x264-TASTETV
Argument: C:\Windows\System32\multi
Argument: C:\Windows\System32\Sample\those.who.cant.s01e01.hdtv.x264-tastetv.sample.mp4
Argument: F:\TV Shows\Those Who Cant\Those.Who.Cant.S01E01.HDTV.x264-TASTETV
File not found: C:\Windows\System32\5
Failure (°_°)
Why does it include this "C:\Windows\System32" path on every parameter? I can't for the love of god find any reason to it. Been searching this forum for hours without any luck.
Any kind of help would be mutch appreciated!
Best Regards
Chiller