
CODE: [Copy to clipboard]@echo off
for /f "tokens=1* delims=:" %%a in ('findstr /n .* "test2.txt"') do (
>>ghgh.txt echo %%b
)
pause
| Quote: | |
|
CODE: [Copy to clipboard]@echo off
for /f "delims=" %%a in (test2.txt) do (
for /f "delims=" %%i in ('findstr "%%a" zzz.txt') do (
>>ghgh.txt echo %%i
))
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |