Archive: Vista shortcut problems


Vista shortcut problems
On MS Vista, this command of my uninstaller:
Delete "$DESKTOP\Test.lnk"
has no effect.
But on XP i dont have any problems.


Vista tries to help you out (but only screws things up), it is probably located on the all users desktop


Now I used "SetShellVarContext all"

but also no effect...

any idea?


try a messagebox with "$DESKTOP\Test.lnk" before the delete instruction and figure out whats wrong with the path