utorrent script to run exe or bat

Running FileBot from the console, Groovy / FileBot scripting, shell scripts, etc
Post Reply
Amishman
Donor
Posts: 51
Joined: 29 Dec 2013, 15:54

utorrent script to run exe or bat

Post by Amishman »

When a torrent has finished downloading I would like for it to automatically be removed. uTorrent does not have that option. I found a .exe that will do it for me. I have my script in the "Run program when finished" box and it runs great.

If I put the direct path to the exe before the script, the exe works but the script does not work properly. I then made a bat file to run the exe in the "change status" box. When the torrent would change to "Seeding" (5) it would run the exe. Sometimes it works and sometimes it doesn't.

Is there a way for filebot to run the exe or bat file? preferably before it renames the file. With it "Seeding" it can not move the file and does not rename the file.
User avatar
Ithiel
Power² User
Posts: 204
Joined: 11 Jul 2013, 14:58

Re: utorrent script to run exe or bat

Post by Ithiel »

While I think your best bet is to probably try and have both filebot and the torrent removal app being run through a single batch file, you can try running a joined command line using &&

More on running two commands one one command line: http://stackoverflow.com/questions/8055 ... indows-cmd

Note: rather than just running 'filebot -blah blah blah', you'll probably need to do something along the lines of:
pseudo code wrote:cmd /c filebot -blah -blah -blah && "c:\i_dont_like_seeding\remove_torrent_program.exe"
Last edited by bonelifer on 06 Jan 2014, 06:18, edited 1 time in total.
Reason: Fixed quote, needed double quotes around the name.
There can be only one Power² User
Amishman
Donor
Posts: 51
Joined: 29 Dec 2013, 15:54

Re: utorrent script to run exe or bat

Post by Amishman »

Thank you for your reply.

I was able to get it to work. I put the filebot script into a .bat file.

Code: Select all

"C:\Rm_Finished_Torrents\Rm.Finished.Torrents.exe" "C:\Rm_Finished_Torrents\Filebot_Rename.bat" "%D" "%F" "%K" "%N" "%L" "%S"
toolbox
Posts: 2
Joined: 23 Aug 2014, 00:48

Re: utorrent script to run exe or bat

Post by toolbox »

I want to do the same. Where can I find Rm.Finished.Torrents.exe?
toolbox
Posts: 2
Joined: 23 Aug 2014, 00:48

Re: utorrent script to run exe or bat

Post by toolbox »

i tried that one already. It doesn't work on my Win8-64bit system.


I am using this one right now. Very simple
http://forum.utorrent.com/topic/70982-p ... downloads/
Post Reply