Delphi – 実行中のディレクトリを取得 アプリケーションが実行中のディレクトリを取得。exeファイルのある場所。 val := ExtractFilePath(Application.ExeName);