dos的errorlevel实例讲解

 时间:2024-10-21 09:31:40

1、运行输入cmd进入dos界面

dos的errorlevel实例讲解

2、我们首先运行这个命令我们输入dir

dos的errorlevel实例讲解

3、回车看看结果

dos的errorlevel实例讲解

4、我们输入 echo %errorlevel%

dos的errorlevel实例讲解

5、回车看看结果框内为0意思是成功

dos的errorlevel实例讲解

6、接着我们输入 echo?然后回车看看如图结果

dos的errorlevel实例讲解

7、我们再次输入echo %errorlevel%结果不是0 是9009 这个是失败的意思

dos的errorlevel实例讲解
热门搜索
cf是什么意思 嘴唇发黑发紫是什么原因 牛津纺是什么面料 吃鸡是什么游戏 什么是脱式计算 996是什么 地方专项计划是什么意思 菊花什么时候开 属猪和什么属相最配 work是什么意思