Windows 7 Start Menu shortcuts bug

Feedback on Windows installer

Moderator: Paulo Moura

Locked
Paulo Moura
Logtalk developer
Posts: 533
Joined: Sat May 05, 2007 8:35 am
Location: Portugal
Contact:

Windows 7 Start Menu shortcuts bug

Post by Paulo Moura »

Hi,

There's a Windows 7 bug in the handling of Start Menu shortcuts where the "Start in" field is ignored and the working directory is reseted to "C:\Windows\System32". The consequence of this Microsoft bug is that, if you start Logtalk from one of the Start Menu shortcuts and immediately try to load an example or a library, you may get a permission error as the Logtalk process cannot create a temporary directory in the "C:\Windows\System32" directory. Several workarounds are possible. You can copy the Logtalk shortcuts to e.g. your Desktop (as the bug only seems to affect shortcuts in the Start Menu). You can change the working directory (to e.g. %LOGTALKUSER%) after starting Logtalk. You can define a non-relative value for the Logtalk flag "tmpdir" in your "settings" file.

It's easy to find (searching the web) reports of this Windows 7 bug that are a couple of years old but the bug is still to be fixed. Sigh.

Happy logtalking,

Paulo
Paulo Moura
Logtalk developer

Locked