Pfad aus String extrahieren

// liefert "c:\\Programme\\Notepad"
string sPath = System.IO.Path.GetDirectoryName("c:\\Programme\\Notepad\\Notepad.exe");