1989615wx 当前离线
列兵
@echo off cd /d "%~dp0" for /f "delims=" %%i in ('dir /s /b "*已处理__文件名:*"') do ( move "%%i" "D:\存档" ) exit复制代码
buyiyang 当前离线
中尉
for /f "delims=" %%i in ('dir /s /b "*已处理__文件名:*" ^| findstr /i /v "\.txt$"') do (复制代码
TOP
terse 当前离线
中将
for /f "delims=" %%i in ('dir /s /b "*已处理__文件名:*"^|findstr /ivec:".txt"') do ( move "%%i" "D:\存档" )复制代码
qixiaobin0715 当前离线
大校
if /i "%%~xi" neq ".txt" move "%%i" "D:\存档\"复制代码