JP1/Script(Windows(R)用)
SetPath ( 〔DirPath〕 )
' 実行ファイル"ABC.EXE"のカレントフォルダを設定し実行する。 ' カレントフォルダは,引数で指定された「OutDir」フォルダに ' ファイルが存在した場合,「OutDir」フォルダとする。 ' 「OutDir」フォルダにファイルが存在しなかった場合, ' 実行中のスクリプトファイルのフォルダとする。 OutDir = %1 If IsEmptyDir ( OutDir ) = False Then SetPath ( OutDir ) Exec ( "ABC.EXE" ,True ) SetPath Else Exec ( _SCF_+"ABC.EXE" ,True ) End
Copyright (C) 2012, Hitachi, Ltd.
Copyright (C) 2012, Hitachi Solutions, Ltd.