BAT里的特殊符号

2024-12-14 18:20:20
推荐回答(2个)
回答1:


遇到特殊符号就在特殊符号前加就行了!

回答2:

@echo off
color f0
mode con:cols=67 lines=3
setlocal enabledelayedexpansion
set x=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
set y=>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

:0
for /l %%i in (0,1,59) do (
set a=%%i
set /a a1=%%i-1
set /a a2=%%i+1
set /a a3=59-%%i

call set c=%%y:~0,!a!%%
call set b=%%x:~!a2!,!a3!%%
cls
echo.
echo !c!*!b! && ping /n 1 127.1>nul
if %%i equ 59 goto 0
)

再试试