
gfroud1.5524904538462332E12 asked a question.
Shortcut Working Directory AppDataFolder
I have configured my installation to set the Working Directory of a shortcut to [AppDataFolder]. The installation installs for ALLUSERS. Unfortunately, this sets the working directory of the shortcut to be the AppData folder of the user that installed the app NOT the user that is running the app. Am I doing something stupid? I want my app to have a working directory of the AppData folder of the user that is running the program. How do I do that?
However AppDataFolder should also give current user's app data folder path which maps to environment path variable %appdata% i.e. when I ran %appdata% in Start > Run on my PC, it showed me current user's Roaming folder on Win 7 e.g.C:\Users\SK\AppData\Roaming.
I still have no solution to this problem.
This seems like such an obvious thing to do that I assumed I was doing something stupid...