Please enable JavaScript to view this site.

Take Command / TCC Help v. 28

Navigation: TCC > Commands


Scroll Prev Top Next More
Purpose:Set the ERRORLEVEL value


Format:SETERROR errorlevel


errorlevelNew value for ERRORLEVEL




SETERROR sets the value of the ERRORLEVEL internal variable and the last-error code in Windows to the specified value.


See also IF.