
CODE: [Copy to clipboard]FOR /F "tokens=1*" %%a IN (test.txt) DO echo %%b>>test2.txt
CODE: [Copy to clipboard]FOR /F "eol=; tokens=2,3* delims=, " %i in (myfile.txt) do @echo %i %j %kecho off
FOR /F "tokens=1,2* delims= " %%i IN (test.txt) DO echo "%%i" >>test1.txt & echo %%j %%k >>test2.txt
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |