Jump to content

1.7.6 (build 7859) Installation Path Bug


jt666

Recommended Posts

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 path

C:\PROGRA~1\uTorrent\utorrent.exe

which 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

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

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

Archived

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

×
×
  • Create New...