String file = @ "c: /test.txt"; string folder = system.io.path.getdirectoryName (file); try {system.diagnostics.process.start (Folder); system.threading.thread.sleep (800) SendKeys.send (System.io.Path.GetFileName (file);} catch {};