@echo off
set target_path=H:\SoftCodes\GDFS2021\BaseFrame\src
set copy_target_path=F:\20211125\
set vcffile=*.java
C:
cd %target_path%
for /f "delims=" %%s in ('dir /b/a-d/s "%target_path%"\"%vcffile%"') do (
echo %%s
copy /y "%%s" %copy_target_path%
)
pause

 

 

target_path为原目录

copy_target_path为目标目录

vcffile为需要复制的文件类型

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-24
  • 2021-06-07
  • 2021-04-03
  • 2022-12-23
  • 2021-12-09
  • 2022-12-23
猜你喜欢
  • 2021-09-30
  • 2022-01-22
  • 2021-06-12
  • 2022-12-23
相关资源
相似解决方案