PDA

View Full Version : How can make to the file installed in Local Settings


woodytang
10-13-2009, 02:14 PM
I have tried to use % ApplicationDataFolder% before this but it can only install to C: \Documents and Settings\Your User\Application Data .

I wonder how to install to C: \Documents and Settings\Your User\Local Settings\Application Data

Please help me ~:huh:huh

woodytang
10-13-2009, 02:21 PM
There should be wordings of Local Settings after C: \Documents and Settings\Your User\

But I can not install the file to C: \In Documents and Settings\ Administrator\Local Settings\ Application Data

Ulrich
10-13-2009, 02:28 PM
It is in the help file.

Shell.GetFolder(SHF_APPLICATIONDATA_LOCAL);


Ulrich

woodytang
10-13-2009, 02:33 PM
how to apply this
Please tell and let me know in detail

jassing
10-13-2009, 02:49 PM
You wanted how to retrieve the proper folder name.
Ulrich gave you the command.
Since you didn't give any context for using the folder name, we can't provide you with more details. here's the best I can do based on the little information we have:

local cAppDataFolder = Shell.GetFolder(SHF_APPLICATIONDATA_LOCAL);
-- No use cAppDataFolder as your folder reference.