Jump to content

Run program when torrent finishes


kiwijunglist

Recommended Posts

Enable option

Browse to a program

Select program eg. an test.run.exe that appends to a .txt file whenever it is run

Now wait for torrent to complete, nothing happens

Now go back into settings and surround the program in quotes, this fixes the problem

It is bad that utorrent will not run a program without quotes (even if the path+file contains no space bars) utorrent should auto append quotation.

Link to comment
Share on other sites

Program without spaces in path or file name can be without quotes and run function works fine.

But variable of file name must be represented as: "%D\%F"

- quotes for certainty if file name contains spaces

- %D because path is not included in %F file name

This combination tested and works:

C:\FolderNoSpace\FileNoSpace.exe "%D\%F"

"C:\Program Files\VideoLAN\VLC\vlc.exe" "%D\%F" (will play only single file)

"C:\Program Files\VideoLAN\VLC\vlc.exe" "%D" (will play whole folder)

Maybe it will be better, when uTorrent will add quotes automatically and variable %F will contains full path with automatically covertly filled quotes by uTorrent.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...