G70 当前离线
列兵
qixiaobin0715 当前离线
大校
TOP
@echo off md C setlocal enabledelayedexpansion for /f "tokens=3 delims=," %%a in (b.csv) do ( if exist "A\%%a" ( copy "A\%%a" "C\">nul set /a n+=1 ) ) echo,共复制%n%个文件 echo,清单中没有列出的文件有: for %%i in (A\*) do if not exist "C\%%~nxi" echo,%%~nxi pause复制代码
@echo off md C for /f "tokens=3 delims=," %%a in (b.csv) do if exist "A\%%a" copy "A\%%a" "C\">nul echo,清单中没有列出的文件有: for %%i in (A\*) do if not exist "C\%%~nxi" echo,%%~nxi pause复制代码
idwma 当前离线
少校