jt666 Posted January 27, 2008 Report Share Posted January 27, 2008 First, i created task in windows task scheduler with the following (manually set) path"C:\Program Files\uTorrent\utorrent.exe"all was good,but later, i created another task, and task scheduler automatically set short pathC:\PROGRA~1\uTorrent\utorrent.exewhich confused µTorrent as different, and it pops up installation dialog (with program shortcut checkboxes) and .torrent association dialog.Thanks god, i test run the task and found this, or else µTorrent will be blocked by installation dialog and not start. Link to comment Share on other sites More sharing options...
jewelisheaven Posted January 27, 2008 Report Share Posted January 27, 2008 ... either keep the task in "" or move it outside "program files". The ~1 is for dos compatibility, which doesn't accept spaces. There's nothing else that can be done, it's windows mucking with the paths. Link to comment Share on other sites More sharing options...
jt666 Posted January 28, 2008 Author Report Share Posted January 28, 2008 True, but.... bug (and headache for users) is still there µTorrent should convert its own path (apparently taken from command line) to long version before use. Very simple.MSDN:The GetLongPathName function converts the specified path to its long form. If a long path is not found, this function returns the specified name. Link to comment Share on other sites More sharing options...
jewelisheaven Posted January 28, 2008 Report Share Posted January 28, 2008 uT isn't handling the path. You said its the Task Scheduler mucking with the pathname upon checking. Link to comment Share on other sites More sharing options...
jt666 Posted January 29, 2008 Author Report Share Posted January 29, 2008 Point is, both paths (short and long) are exactly the same, although written differently. This is feature of the operating system.But, due to bug, uT treats them as different. This causes problems then uT runs using different kinds of paths (shortcuts, batchfiles, scheduler tasks, etc... with mixed short and long paths).Solution: One simple function above (#3). Link to comment Share on other sites More sharing options...
Firon Posted January 30, 2008 Report Share Posted January 30, 2008 Does this happen with 1.8? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.