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实例讲解
热门搜索
紫色英文怎么读 心律不齐怎么办 电脑怎么设置屏保密码 乙肝怎么治 怎么做红烧排骨 压缩饼干怎么吃 俞灏明怎么被烧的 itunes怎么用 变蛋怎么做 放屁很臭是怎么回事