CMD常用命令11获取上一次命令行执行结果

获取上一次执行结果:

Linux:

echo $?

Win:

echo %ERRORLEVEL%

Leave a Reply

Your email address will not be published. Required fields are marked *

*