AppDomain.CurrentDomain.BaseDirectory;
string[] args = Environment.GetCommandLineArgs();string exePath = args[0];