
CODE: [Copy to clipboard]set back=:scroll
set b=/-\
[color=Red]set back=[/color]:b
for /l %%i in (0,1,3) do (
if %%i==3 (set/p= ^| Please select test phase:<nul) else (set/p= !b:~%%i,1! Please select test phase:<nul)
[color=Red]set/p=%back%<nul[/color]
ping/n 1 127.1>nul
)
CODE: [Copy to clipboard]@echo off
:begin
set "a=我们"
set /p=%a%<nul
set /p=<nul
ping -n 1 127.1>nul
set /a n+=1
if "%n%"=="10" goto :eof
goto :begin
CODE: [Copy to clipboard]@echo off
:begin
set "a=我们"
set /p=%a%<nul
set /p=<nul
ping -n 1 127.1>nul
set /a n+=1
if %n%==10 exit
goto :begin
| Quote: | |
|
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |