pengyou86 当前离线
五级士官
QIAOXINGXING 当前离线
六级士官
@echo off&SetLocal EnableDelayEdexpansion&cd /d "%~dp0" for /f "delims=" %%a in (11.txt) do ( if defined flag ( echo %%a set "flag=" ) else ( set /p str=%%a<nul set flag=1 ) ) pause复制代码
TOP
请修改标题。 QIAOXINGXING 发表于 2012-10-3 10:52
@echo off&SetLocal EnableDelayEdexpansion&cd /d "%~dp0" (for /f "tokens=1,2 delims=:" %%a in (11.txt) do ( if defined flag ( echo %%b set "flag=" ) else ( set /p str=%%b = <nul set flag=1 ) ))>2.txt pause复制代码
QIAOXINGXING 发表于 2012-10-3 22:41
BAT-VBS 当前离线
少将
CrLf 当前离线
论坛巡查