Come from Mo, also, the original
Gets the base directory of the program. System.AppDomain.CurrentDomain.BaseDirectory
Gets the full path of the module. System.Diagnostics.Process.GetCurrentProcess (). Mainmodule.filename
Gets and sets the fully qualified directory of the current directory (the directory from which the process starts). System.Environment.CurrentDirectory
Gets the current working directory of the application. System.IO.Directory.GetCurrentDirectory ()
Gets and sets the name of the directory that contains the application. System.AppDomain.CurrentDomain.SetupInformation.ApplicationBase
Gets the path to the executable file that launched the application. System.Windows.Forms.Application.StartupPath
Gets the path and file name of the executable file that launched the application. System.Windows.Forms.Application.ExecutablePath
[Go] C # get program Run Directory