Getting the User Data Path

M

Muscha

Hello,

How do I get the user data path ie:

C:\Documents and Settings\Username\Application Data\ ?

Because using Application.UserAppDataPath gives added information about the
assembly name and assembly version. Is there a way to get this directory?

thanks,
/m
 
H

Herfried K. Wagner [MVP]

* "Muscha said:
How do I get the user data path ie:

C:\Documents and Settings\Username\Application Data\ ?

Because using Application.UserAppDataPath gives added information about the
assembly name and assembly version. Is there a way to get this directory?

\\\
Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)
///
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top