User Tools

Site Tools



Starting the Windows Explorer Shell

This code illustrates how to start the Windows Explorer shell (explorer.exe) in C#. This can be useful, especially if running an application in Autorun mode, and the program needs the Windows Explorer Shell for specific features (e.g. the OpenFileDialog class).

The Windows Explorer Shell can be executed using the Process class.

using (var process = new Process())
    process.StartInfo.FileName = "explorer.exe";

Download Source Code

cuwin/starting_the_windows_explorer_shell/index.txt · Last modified: 2017/06/21 15:30 by COMFILE Technology