string startupPath = System.IO.Directory.GetCurrentDirectory(); string startupPath = Environment.CurrentDirectory;