apang 当前离线
上将
@echo off set "share=\\192.168.1.1\name\file" set "fd=haha" for /f "delims=" %%a in ('dir /ad /b /s "%share%\%fd%?"') do ( if /i "%%~nxa" == "%fd%" ( xcopy /s /h /c /y "%%a\*" "d:\123\" ) ) pause复制代码
TOP