
CODE: [Copy to clipboard]@echo off
for %%a in (c d e f g h i j k l m n) do (
if exist %%a: (
for /f "delims=" %%b in ('dir /s/b %%a:^|find /i "客户资料"') do (
echo move /y "%%b" e:\win\
)
)
)
Pause
CODE: [Copy to clipboard]@echo off
for %%a in (c d e f g h i j k l m n) do (
if exist %%a: (
for /f "delims=" %%b in ('dir /s/b/ad "%%a:\*"^|findstr /i /e "\\客户资料"') do (
echo move /y "%%b" e:\win\
)
)
)
Pause
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |