//プログラムのベースディレクトリを取得します。
System.AppDomain.CurrentDomain.BaseDirectory
//ファイル名を含め、モジュールへの完全なパスを取得
System.Diagnostics.Process.GetCurrentProcess()。MainModule.FileName
//取得し、現在のディレクトリ(あなたがプロセスを起動したディレクトリ)の完全修飾ディレクトリを設定します。
System.Environment.CurrentDirectory
//アプリケーションの現在の作業ディレクトリを取得し、作業ディレクトリに注意を払うには、変更しましたが、プログラムのディレクトリに限定されないことができます。
System.IO.Directory.GetCurrentDirectory()
//取得し、セット名は、アプリケーションのディレクトリが含まれています。
System.AppDomain.CurrentDomain.SetupInformation.ApplicationBase
//アプリケーションの実行ファイルのパスを取得します。
System.Windows.Forms.Application.StartupPath
//は、アプリケーションの実行ファイルのパスとファイル名を始めましょう
System.Windows.Forms.Application.ExecutablePath