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实例讲解
热门搜索
糯米粉的做法大全 嗟怎么读 西红柿炒蛋的做法 面条做法 借呗怎么开通 大黄花鱼的家常做法 红薯粥的做法 头皮屑多怎么治疗 锆怎么读 茄子馅饺子的做法