Hi,
I'm trying to install to the SendTo folder for each user. $SENDTO in the manual does not make use of 'SetShellVarContext all' so I'm trying the following:
SetShellVarContext all
CreateShortCut '$APPDATA\Roaming\Microsoft\Windows\SendTo\[AppName].lnk' '[AppPath]' '%SystemRoot%\system32\SHELL32.dll' 168
The result still installs the link to the admin's SendTo directory only. The same method does work for Start Menu icons. Could this be a bug in $APPDATA?
Thanks!
$APPDATA Not Making Use of SetShellVarContext all
3 posts
Maybe this is more of a Windows limitation. It looks like the C:\ProgramData\... directory holds the Start Menu links which get replicated to every user, but Windows doesn't have a mechanism to do the same thing for SendTo links?
No, there is no common/"all users" SendTo folder, only the Start Menu and Desktop merges the user and common shell folders (Desktop is not merged on older versions of Windows IIRC).