http://www.bathome.net/viewthread.php?tid=4319&highlight=%D7%D6%CC%E5- @echo off&&setlocal EnableDelayedExpansion
- title 彩色输出逐显
- set line=批处理之家--我永远支持-哈哈
- for /l %%i in (0,1,14) do (
- set /a a=!random:~,1!%%5+1
- set filename=!line:~%%i,1!
- set /p= <nul>!filename!
- call findstr /a:!a! .* "!filename!*"
- ping -n 2 127.0.0.1 >nul
- del /q "!filename!*"
-
- )
-
- pause>nul
复制代码 以上如何去除結果之 : 符号
|