批处理(bat)拷贝文件夹内的全部文件到另一个文件夹
@echo offset LibDir=C:\WINCE600\PLATFORM\HPC-3200\lib\EPC-3000set LibSourceDir=C:\WINCE600\PLATFORM\HPC-3200\EPC-3000dir /a /b %LibDir%|findstr .>nul 2>nul && goto havefiles || goto nofiles:havefilesrem echo 有文件goto endbat:nofilesrem echo 没有文件XCOPY %LibSourceDir% %LibDir%taskkill /f /im "CopeLib.exe"pause:endbat