
CODE: [Copy to clipboard][ Last edited by qianmo717 on 2008-1-26 at 04:36 PM ]@echo off
for /f "delims=" %%i in (a.txt) do (
echo %%i|find /v "ced=">>1.txt
if errorlevel 1 echo ced=refood!>>1.txt
)
del a.txt
ren 1.txt a.txt
pause
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |