@echo off set sourcePath=D:\DOAutomationTest\automation_do_ma_soapui\TestResult\PA set targetPath=\\szpc2015801\AutomationReport\PA set directoryName=%date:~6,-4%-%date:~0,2%-%date:~3,2%-%time:~0,2%-%time:~3,2% echo %directoryName% md %targetPath%\%directoryName% xcopy /d %sourcePath% %targetPath%\%directoryName% PAUSE
文件夹名称 :2015-07-16-11-26
时间: 2024-10-09 15:59:22