
CODE: [Copy to clipboard]@Echo off&SetLocal EnableDelayedExpansion
for /f "tokens=1-3 delims=. " %%a in (test.txt) do (
set /a menoy=%%a%%b*%%c
set menoy=!menoy:~0,-3!.!menoy:~-3!
echo/!menoy!>>new.txt
)
pause&start new.txt
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |