司马光2008 当前离线
一级士官
TOP
flashercs 当前离线
少校
@echo off cd /d "%~dp0" md "D:\B" 2>nul md "D:\C" 2>nul for /f "delims=" %%A in ('dir /a-d /b "D:\A\*.txt"') do ( type "D:\A\%%A"|findstr /li "固定客人" && move /y "D:\A\%%A" "D:\B\" || move /y "D:\A\%%A" "D:\C\" )复制代码