
CODE: [Copy to clipboard][ Last edited by abcd on 2008-3-29 at 03:39 PM ]@echo off
set flag=
for /f "tokens=*" %%i in (test.txt) do (
set "str=%%i"
if not defined flag call,set "str=%%str:~5%%"&set flag=flag
call,echo %%str%%
)
pause
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |