
求助求大神幫我分析這段代碼的意思感覺這么多天批處理白學了求助。求大神幫我分析這段代碼的意思。。感覺這么多天批處理白學了。就是下面這段代碼
- @echo %dbg% off
- setlocal ENABLEDELAYEDEXPANSION
- mode con cols=80 lines=30
- cls
- set 退格=
- set redtek=
- set end=0
- :start
- set /a end+=1
- call :calc
- set /p=!setspaces! <nul&ping /n 1 127.1>nul
- set /p=%退格%<nul
- set /p=%redtek:~1,79%<nul&echo.
- goto :start
- :calc
- if %end%==28 (
- set /a end=0 & cls & set /a cols=!random:~0,2!
- echo ...風力:!cols! ...
- if !cols! GTR 76set cols=76
- if !cols! LSS 2set cols=2
- set setspaces=!redtek:~1,%cols%!!random:~0,1!
- goto :eof
- )
nclick="copycode($('code0'));">復制代碼
這段代碼是在網上不知哪里(忘了)找的求大神帶帶小白。