Finding Application Data Directory

dannyres

Regular
Joined
Aug 29, 2003
Messages
67
Hi guys, does anyone know how i can find the current users "Application Data" path? mine looks like this: "C:\Documents and Settings\Daniel\Application Data\" any help would be appreciated.


Thanks, Dan
 
This will return it for you:
Visual Basic:
System.Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
The SpecialFolder enumeration contains a lot more other special folders. Then you simply get it using the GetFolderPath() method.
 
Back
Top