Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
AutoSys ジョブによって開始される古い vbs スクリプト ファイルがあります。成功または失敗を示すために int の戻り値を返すことはできますか? また、その方法は?
試す:
WScript.Quit n
n は、返したい ERRORLEVEL です。
私は答えを見つけました:0)
DIM returnValue returnValue = 99 WScript.Quit(returnValue)
これはうまくいくようです。