1270697389 当前离线
上尉
评分人数
DAIC 当前离线
中将
@echo off setlocal enabledelayedexpansion for %%i in (tmp\*.txt) do ( set input=y set /p input=是否执行%%i?[y/n]默认为y: if /i "!input!" equ "y" ( (for /f "delims=" %%j in (a.txt) do ( echo %%~ni%%j ))>"%%~nxi" ) )复制代码
TOP
DAIC 发表于 2013-10-8 21:19