Jump to content

Run Program runs nothing


katz

Recommended Posts

Posted

Running the latest stable 3.0 build 25460

I have the following in Preferences -> Advanced -> Run Program -> Run this program when a torrent finishes

C:\Program Files (x86)\uTorrent\tl.bat %L %D

tl.bat is a test right now, but I will be automating something in it

Right now it contains

@echo offecho>>"C:\Program Files (x86)\uTorrent\log.txt" %date% %time% %1 %2 %3cls

I tested the it with command prompt and it works just fine. I added a small torrent after setting this as stated above. The torrent finished, but the log is still empty. I made sure the log file exists in advance, since I'm using the append output and am uncertain whether it would create.

Posted

the same problem (same version of uTorrent). would appreciate a solution/answer!

Details:

tried simple command line:

echo %D - %F > c:\uTorrent_Run_Program.log

no file appears in c:\uTorrent_Run_Program.log

silent execution, although some DOS window blinks...

Ultimate purpose is to run antivirus:

tried with kaspersky:

>>"C:\Program Files\Kaspersky Lab\Kaspersky Anti-Virus 2011\avp.com" SCAN %D /R:c:\uTorrent_KAV_scans.log

Got an error: "Error: bad parameter - " (caught a PrintScreen).

it's impossible to debug command line arguments because uTorrent hides the logs!

and it looks uTorrent doesn't pass directory name to the command line.

Wasted an hour :(

thanks in advance for any solution!

Posted

Adding quotations to the path fixed it. Just remember to make sure that the command line takes whatever format the browse button returns. Right now they're not compatible if there is a space in the path, rendering the button useless.

Archived

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

×
×
  • Create New...