How can I open Windows Explorer to a certain directory from within a WPF app?

Edward Tanguay picture Edward Tanguay · Nov 17, 2009 · Viewed 141.5k times · Source

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");

Answer

Jamie Penney picture Jamie Penney · Nov 17, 2009

Why not Process.Start(@"c:\test");?