772074834 当前离线
列兵
@echo off setlocal enableDelayedExpansion set str= for /l %%i in (1 1 100) do ( set tempstr=%%i set "str=!str! !tempstr!" ) echo %str% endlocal pause复制代码
TOP
@echo off setlocal enableDelayedExpansion set str= for /l %%i in (1 2 99) do ( set tempstr=%%i set "str=!str! !tempstr!" ) echo %str% endlocal pause复制代码
@echo off for /f "tokens=1,2,3 delims=. " %%a in ("bbs bathome.net") do ( echo %%a echo %%b echo %%c ) endlocal pause复制代码
@echo off type test.txt echo. for /f "tokens=2 delims= " %%a in (test.txt) do ( echo %%a ) endlocal pause复制代码
@echo off set poem="床前明月光 疑是地上霜 举头望明月 低头思故乡" for /f "tokens=1,2,3,4" %%a in ("床前明月光 疑是地上霜 举头望明月 低头思故乡") do ( echo %%a echo %%b echo %%c echo %%d ) pause复制代码
@echo off for /r c:/ %%i in (*myplayer*) do ( echo %%~pi echo %%~ni echo %%~xi ) pause复制代码
Aa123456789 当前离线
唯尘 当前在线
上等兵