Last active
November 4, 2017 05:22
-
-
Save jahentao/f308f6c0ea3326c62ef789fe64571ed3 to your computer and use it in GitHub Desktop.
实用的批处理脚本
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| Setlocal enabledelayedexpansion | |
| ::CODER BY jahentao POWERD BY iBAT | |
| (del /f *.exe)4>>%0 2>nul | |
| pause | |
| ::1>nul 意思是不显示命令运行的正确提示 | |
| ::2>nul 是不显示错误提示 | |
| ::一起就是 正确错误的都不显示 | |
| ::>是重定向符号 | |
| ::nul是空设备的意思 | |
| ::把提示输入到空设备就不显示了 | |
| ::重定向你可以理解为 输入到 的意思 | |
| ::>nul | |
| ::就是把结果存入一个文件,但nul是null(无效)的缩写 | |
| ::默认省略就是1>nul | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment