Get location outside of website folder

webRootPath = Server.MapPath(“~”);

docPath = Path.GetFullPath(Path.Combine(webRootPath, “..\Documents\MyDocument.xml”));

Anuncios

Open browser

Process.Start(“http://www.google.com”);

Process.Start(“IExplore.exe”, @”C:\Users\…jpg”);