string a = "BaseDirectory:" + AppDomain.CurrentDomain.BaseDirectory + "\r\n" +
"MainModule:" + Process.GetCurrentProcess().MainModule.FileName + "\r\n" +
"ApplicationBase:" + AppDomain.CurrentDomain.SetupInformation.ApplicationBase + "\r\n" +
"StartupPath:" + Application.StartupPath + "\r\n" +
"ExecutablePath:" + Application.ExecutablePath + "\r\n" +
"GetCurrentDirectory:" + Directory.GetCurrentDirectory();