您的位置:首页 > 其它

有意思的批处理

2016-06-20 00:00 176 查看
@echo off

setlocal enabledelayedexpansion

set b=/-\ /-\ **

set 速度=1

set 退格=

:b

for /l %%i in (0,1,200) do call :a %%i

goto :b

:a

set/a a=%1%%10

set/a c=%a%%%4

if %a% EQU 0 set/p=▌<nul

if %c% EQU 3 (set/p=^|<nul) else (set/p=!b:~%a%,1!<nul)

ping/n %速度% 127.1>nul

set/p=%退格%<nul

goto :eof
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: