RDabate Posted July 23, 2012 Report Share Posted July 23, 2012 I have a .bat file that works fine if I manually run it. But if I try to let UT run it after a download has finished, it's not working? Options > Preferences > Advanced > Run ProgramAny suggestions? Link to comment Share on other sites More sharing options...
Trolzen Posted July 26, 2012 Report Share Posted July 26, 2012 1. Provide full path to your bat-file or add it's folder to %PATH%2. Check the log. Link to comment Share on other sites More sharing options...
RDabate Posted July 26, 2012 Author Report Share Posted July 26, 2012 The path is there as well as the batch file name with extension. I'm not sure what you mean by add it's folder to %Path%. Do you mean change the path environment variable to where the script is? Link to comment Share on other sites More sharing options...
Trolzen Posted July 26, 2012 Report Share Posted July 26, 2012 Do you mean change the path environment variable to where the script is?Yes. Not change, but add the path to that environment variable. But since you use full path, it's not necessary.How do you know that your bat file doesn't being run?What is in the log? Link to comment Share on other sites More sharing options...
RDabate Posted July 26, 2012 Author Report Share Posted July 26, 2012 It's a script that emails me. Works fine if I run it manually. I can not seem to find where the logs are? Link to comment Share on other sites More sharing options...
Trolzen Posted July 26, 2012 Report Share Posted July 26, 2012 Lower pane, tab "Logger". If it doesn't show, you should enable it: right click on any tab, select "Logger". Normally utorrents adds "Executing: scriptname.bat" line to the log when it starts that script.There are many additional log categories available. I don't know which one is tied with scripts. You could enable them all to avoid missing important data. But some options generate a lot of log data (as "Log incoming connections"), so you should enable them one by one during active download and skip the ones, which generate too many messages. Or you could just log to file.Also, you could experiment on dummy bat file, which only dumps environment variables, its arguments, current directory, etc. to some file. This will help you determine if it really has been started and give you clues for finding issues with paths or something. Link to comment Share on other sites More sharing options...
Kitsoran Posted July 29, 2012 Report Share Posted July 29, 2012 Post the script. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.