- @echo off
- md "D:\JobDownload" 2>nul
- pushd "D:\JobDownload\"
- copy "%userprofile%\桌面\*.rar"
- "%programfiles%\WinRAR\rar.exe" x -o+ *.rar
- pause
- ::自己添加要运行的其他命令
- del *.rar
- xcopy /s /y *.* "\\192.168.2.49\离岸事业部\运营部\01.Data Entry\07.yukoyuko\03.受领资料\%date:~5,2%%date:~8,2%\"
- rd /s /q "D:\JobDownload\" 2>nul
- pause
复制代码 试试看吧 |