print exit code in cmd in windows os ….some command return exit code …where this code store…and i want to print this exit code and assign it to variable
Windows – print exit code in cmd in windows os
command-line-interfacewindowswindows-command-prompt
Related Topic
- Run Oracle SQL script and exit from sqlplus.exe via command prompt
- Windows – Get error code of last shell command
- Linux – Get the return value of bat file in Windows in Unix
- Powershell – Windows command prompt: how to get the output of a command into a environment variable
- Checking .BATs exit code with NAGIOS
- Windows – Save output and exit code of command to files on windows
- How to you add a command line test to Jenkins that reads the exit code
Best Answer
echo %ERRORLEVEL%