
CODE: [Copy to clipboard]局限性比较大。@ECHO OFF&setlocal ENABLEDELAYEDEXPANSION
SET/P A=<aa.txt>nul
set/a b=0
:begin
if "!A:~%b%,1!"=="" goto :end
echo !A:~%b%,1!
set /a b+=1
goto begin
:end
pause
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |