Home
Manage Your Code
Snippet: How to get the proper Windows or Program Files parth. Also several other Special Folders. (C#)
Title: How to get the proper Windows or Program Files parth. Also several other Special Folders. Language: C#
Description: This is well known by many but took me a while to discover when new to C#. There quite a list in the enumeration of special folders Views: 171
Author: Garth Sweet Date Added: 5/5/2008
Copy Code  
1Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles);
2Environment.GetFolderPath(Environment.SpecialFolder.System);
3Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
4
5
Notes
Questions or comments to Bitmugger@gmail.com