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实例讲解
热门搜索
怎么快速记忆 篆字大全 丁肇中简介 中国龙图片大全 草鱼的做法大全家常菜 黑板报花边图片大全 李白的生平简介 马桶堵了该怎么办 我的世界模组大全 怎么唱好歌