FOR 当前离线
中尉
@echo off&setlocal enabledelayedexpansion set /p var=输入数字: set "var=%var: =%" for /f "delims=" %%i in (a.txt) do ( echo,%%i:!var:~0,2! set "var=!var:~2!!var:~0,2!" ) pause复制代码
TOP