Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find out local settings folder of current user?
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00806614
Message ID:
00807961
Views:
23
Thank you very much Cathi!

>Hi Eric,
>
>Look at System.Environment.GetFolderPath()
>
>
>>Hello everyone,
>>
>>I am writing an application with C#.Net and I plan on using an XML configuration file to read and write to. I would like to keep a separate file for each user on a computer and therefore store in their "Documents and Settings\\Local Settings\Application Data\" folder. Is there a function that returns the URL for the local settings folder for the user currently logged in? Or would I have to find out who the user is and concatenate it onto the hardcoded URL of the "Documents and Settings" folder? If I have to do the latter, what is the best way of doing it? Thanks for time and help!
Previous
Reply
Map
View

Click here to load this message in the networking platform