Hello, proposed patch includes:
a) a faked access to special:DefaultUser(Desktop) by expanding AllUsers(Desktop) and replacing the returned string: s/All Users/Default User/and expand, e.g., special:DEfaultUser(SendTo) by getting special:AllusersDesktop and replacing "Desktop" with (SendTo).
Well, I'm not sure about how to access the Application Data (and friends), I guess, all one can do is to:
1) Get the profile path of the Default User by getting the AllUsersDesktop, strip the last path component, and replace All Users by Default User. The guess is that the built-in profiles are located in the same location. 2) Use the registry HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\Current Version\Explrorer\User Shell Folders which are projected ones, the "Shell Folders" are the effective ones, which do point to the system profile.
b) when invoked as "runexp.pl cmd arguments"the arguments are canonelized if they start with "special:", I'm using it for instance:
todo.pl ".ignore-err 256 runexp.pl move \"special:Programs\XYZ\" \"special:AllUsersPrograms\Utils\""c) added the option "--show" to specify the window style setting "normal/minimized/maximized" of the created shortcut.
Bye, -- Steffen Kaiser
patch_shortcut.pl_runexp.diff.gz
Description: Patch shortcut.pl for runexp
