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实例讲解
热门搜索
干海参怎么吃 怎么解散群 心悸怎么办 酒店入住时间怎么算 怎么换壁纸 短裙用英语怎么说 怎么查自己手机号码 小孩咳嗽有痰怎么办 快手怎么上热门 20日均线怎么看