77七 当前在线
中校
@echo off pushd "%~1" call :1 "%cd%" pause & exit :1 robocopy . "e:\2\%~nx1" /e exit /b复制代码
@echo off call :1 "%~1." pause & exit :1 pushd "%~1" robocopy . "e:\2\%~nx1" /e popd exit /b复制代码
评分人数
TOP
g495326 当前离线
一级士官
@echo off rem 不考虑含有空格的路径 rem 执行成功 robocopy d:\1\ d:\2\1\ /e robocopy "d:\1\." "d:\2\1\." /e robocopy "d:\1\." "d:\2\1." /e robocopy "d:\1." "d:\2\1." /e rem 执行失败 robocopy "d:\1" "d:\2\1\" /e robocopy "d:\1\" "d:\2\1\" /e robocopy "d:\1\" "d:\2\1\." /e pause复制代码
Five66 当前离线
上尉
开始时间: 2024年4月19日 17:45:11 源: d:\1" d:\2\1 \e\ 目标-复制代码