How can I open Windows Explorer to a certain directory from within a WPF app?
In a WPF application, when a user clicks on a button I want to open the Windows explorer to a certain directory, how do I do that? I would expect something like this: Windows.OpenExplorer("c:\test"); Why not Process.Start(@"c:\test"); ? This should work: Process.Start(@"<directory goes here>") Or if you'd like a method to run programs/open files and/or folders: private void StartProcess(string path) { ProcessStartInfo StartInformation = new ProcessStartInfo(); StartInformation.FileName = path; Process process = Process.Start(StartInformation); process.EnableRaisingEvents = true; } And then