Try using:
System.Diagnostics.Process.Start
This is much cleaner than the PInvoke version of:
[DllImport(“shell32.dll”)]
public static extern int ShellExecute(IntPtr hWnd,
string lpszOp, string lpszFile,
string lpszParams, string lpszDir,int FsShowCmd);
static void Main(string[] args)
{
int hWnd;
long noth;
ShellExecute(0, “OPEN”, @”D:\WINNT\NOTEPAD.EXE”,
null, null, 0);
}