Take Command / TCC Help v. 13.03

_? variable

Hide Navigation Pane

_? variable

Previous topic Next topic No directory for this topic No expanding text in this topic  

_? variable

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Comments (...)

_? contains the exit code of the last internal command. You must use or save this value immediately, because it is set by every internal command, including the one used to save it.

 

Result codes:

0command was successful
1a usage error occurred
2another TCC error or an operating system error occurred
3the command was interrupted by Ctrl-C or Ctrl-Break

 

This variable can also be set in a subroutine by the RETURN command.

 

Note that in imitation of CMD some internal commands, e.g., DIR, also set the variables ? and ERRORLEVEL to the same value they set this variable. However, you are strongly urged to use this variable.

 

See also: ?

Comments (...)