errorlevel

errorlevel

美  英

  • 网络最近使用的命令的错误代码;上一条命令的错误代码;程序返回码

例句

Command prompt batch files can test the value of ERRORLEVEL and handle the error appropriately .

命令提示符批处理文件可以测试ERRORLEVEL的值并适当处理错误。

Other programs can test this code by examining the Windows ERRORLEVEL value.

其他程序可以通过检查WindowsERRORLEVEL值来测试该代码。

ERRORLEVEL: Lists the error code of the most recently used command.

列出了最近使用的命令的错误代码。

If the sqlcmd script contains an incorrect comment, syntax error, or is missing a scripting variable, ERRORLEVEL returned is 1.

如果sqlcmd脚本包含错误的注释、语法错误或缺少脚本变量,则返回的ERRORLEVEL为1。

ERRORLEVEL is set to offset of key user presses in choices.

ERRORLEVEL被设置为用户键入的字符在待选字符中的偏移值

It also sets the default DOS ERRORLEVEL value to -1.

同时还将DOSERRORLEVEL的默认值设置为-1。