@echo
set year=%date:~0,4%
set month=%date:~5,2%
set day=%date:~8,2%
set hour=%time:~0,2%
set mm=%time:~3,2%
set m"=%time:~6,2%
//盘符路径
e:
//新建文件夹
mkdir %year%%month%
//进入新建文件夹
cd %year%%month%
//将e盘下的excel文件复制到e盘的新建文件夹中
xcopy e:\.excel/e e:%year%%month%
pause