- @echo off&setlocal enabledelayedexpansion
- for /f "delims=" %%a in (a.txt) do set /a n+=1&set str!n!=%%a
- for /f "delims=*" %%a in ('dir /s/b/a-d E:\JP-XIN\*.pdf E:\JP-XIN\*.txt ^| findstr /i "%str1%"^|findstr /i "%str2%"') do move "%%a" D:\pdf\
复制代码
[ 本帖最后由 Lumiere 于 2009-7-23 10:44 编辑 ] |