SetPath ( 〔DirPath〕 )
OutDir = %1 If IsEmptyDir ( OutDir ) Then SetPath ( OutDir ) '実行フォルダを設定する。 End Exec ( OutDir+"ABC.EXE" ,True ) SetPath '実行フォルダをカレントに戻す。