katz Posted July 20, 2011 Report Posted July 20, 2011 Running the latest stable 3.0 build 25460I have the following in Preferences -> Advanced -> Run Program -> Run this program when a torrent finishesC:\Program Files (x86)\uTorrent\tl.bat %L %Dtl.bat is a test right now, but I will be automating something in itRight now it contains@echo offecho>>"C:\Program Files (x86)\uTorrent\log.txt" %date% %time% %1 %2 %3clsI 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.
soxo Posted July 23, 2011 Report Posted July 23, 2011 the same problem (same version of uTorrent). would appreciate a solution/answer!Details:tried simple command line:echo %D - %F > c:\uTorrent_Run_Program.logno file appears in c:\uTorrent_Run_Program.logsilent 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.logGot 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!
katz Posted July 23, 2011 Author Report Posted July 23, 2011 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.