Start in directory for shortcuts in Windows 7
Some programs use the systemfolder (C:\Windows\System32) as default location for their files / documents when those programs are started from the startmenu directly. The "Start in" property is left empty.
The strange thing is that it works correctly when the directory that contains the shortcut in the startmenu is opened in a explorer windows first and the shortcut is activated from here. The default location is set to the Documents library in this case which is correct.
This strange behavoir is only the case for some programs under Windows 7. It all works correctly when using Windows XP.
The question is why is te systemfolder used in case de shortcut is directly activated and the correct documents folder is used when using the explorer window in between?
Thanks for the responses in advance.
Martin
The strange thing is that it works correctly when the directory that contains the shortcut in the startmenu is opened in a explorer windows first and the shortcut is activated from here. The default location is set to the Documents library in this case which is correct.
This strange behavoir is only the case for some programs under Windows 7. It all works correctly when using Windows XP.
The question is why is te systemfolder used in case de shortcut is directly activated and the correct documents folder is used when using the explorer window in between?
Thanks for the responses in advance.
Martin
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
martin99
13 years ago
You can download a zip file from here:
http://www.filedropper.com/shortcuttest_2
containing a ism and msi with cmd.exe and a advertised shortcut to it.
Directly clicking on the shortcut in the startmenu gives "c:\windows\system32" as working directory.
Opening the startmenu in a explorer window and clicking the shortcut gives "%allusersprofile%\microsoft\windows\start menu\programs\shortcuttest" as working directory.
There is no working directory specified for the shortcut but where does this difference come from?
Windows XP shows a same sort of behavior but directly clicking the shortcut in the startmenu gives the
%HOMEDRIVE% as working directory instead of the unwritable systemfolder.
Martin.
http://www.filedropper.com/shortcuttest_2
containing a ism and msi with cmd.exe and a advertised shortcut to it.
Directly clicking on the shortcut in the startmenu gives "c:\windows\system32" as working directory.
Opening the startmenu in a explorer window and clicking the shortcut gives "%allusersprofile%\microsoft\windows\start menu\programs\shortcuttest" as working directory.
There is no working directory specified for the shortcut but where does this difference come from?
Windows XP shows a same sort of behavior but directly clicking the shortcut in the startmenu gives the
%HOMEDRIVE% as working directory instead of the unwritable systemfolder.
Martin.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.