@echo off
rem 复制指定目录的目录结构到目标目录,并移动的文件到目标目录,且保留目录结构(空目录也复制),不保留系统文件和隐藏文件
set ObjPath=.\Data
set DestPath=.\exportLog
set DestExt=*.*
xcopy /e /c /y /s ".\CardDriverLog\%DestExt%" "%DestPath%\CardDriverLog\"
xcopy /e /c /y /s "%ObjPath%\Log\%DestExt%" "%DestPath%\Log\"
xcopy /c /y /s "%ObjPath%\ScData\*.db" "%DestPath%\ScData\"
xcopy /e /c /y /s "%ObjPath%\ScData\PrintFile\%DestExt%" "%DestPath%\ScData\PrintFile\"
REM pause