Friday, September 5, 2008

How to get the path for "My Documents" and other system folders in DotNET

Use the GetFolderPath method of the System.Environment class to retrieve this information.

MessageBox.Show( Environment.GetFolderPath( Environment.SpecialFolder.Personal ) );

No comments:

Post a Comment

 
web counter
Download a free hit counter here.