返回列表 发帖
本文看了谢谢了,在我的IBAT上echo.echo是提示错误的。所以改了一下可以跑了。
set num=0123456
set str=青天有月来几时 我今停杯一问之 人攀明月不可得 月行却与人相随
for /l %%a in (1,1,28)do (
    set /a flag=1/(6/counter^) 2>nul || (
        set counter=0
        set n=8
        set #=^   #这个主要是输出一个空格
        echo %#%   
        call call set str=%%%%str:~%%n%%%%%%        
)
call call call set /p= %%%%%%%%str:~%%%%num:~%%counter%%,1%%%%,1%%%%%%%%<nul
    set /a counter+=1
)

pause
新手希望多指点

TOP

返回列表