Opening a folder at C#

To open a folder in C#, simply follow the following example : [code lang=”csharp”] private void openFolder() { string myDocspath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);// if you are after special documents (e.g. my documents) string myFolderpath = Application.StartupPath + "\\folderName\\"; // a folder right beside where you run the program string windir = Environment.GetEnvironmentVariable("WINDIR"); System.Diagnostics.Process process = new …

Opening a folder at C# Read More »