private void OpenNotepad() { System.Diagnostics.Process p = new System.Diagnostics.Process(); string s = System.Environment.SystemDirectory + "//Notepad.exe"; if(System.IO.File.Exists(s)) { p.StartInfo.FileName = s; p.Start(); } }