Windows 7 Start Menu shortcuts bug

Feedback on Windows installer

Moderator: Paulo Moura

Post Reply
Paulo Moura
Logtalk developer
Posts: 475
Joined: Sat May 05, 2007 8:35 am
Location: Portugal
Contact:

Windows 7 Start Menu shortcuts bug

Post by Paulo Moura » Thu Jun 14, 2012 10:43 am

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest