tomsan 2018-9-27 20:44
想問下咩叫IF Errorlevel ?
如何判斷Errorlevel 1 2或者再多?
cho /c:YN
IF errorlevel 2 goto T1
IF errorlevel 1 goto T2
form5 2018-9-27 21:41
即係 cho 嘅exit code, 一般 0 代表冇error
鄉貢仁 2018-9-27 23:48
[url=https://www.dreamincode.net/forums/topic/240847-c-program-to-return-values-to-a-variable-in-batch/]https://www.dreamincode.net/forums/topic/240847-c-program-to-return-values-to-a-variable-in-batch/[/url]