@echo off
set Path1=H:dir1
set Path2=H:dir2
set Path3=H:dir3
set Path4=H:dir4
cd C:\Program Files\TortoiseSVN\bin
start TortoiseProc.exe /command:update /path:"%Path1%*%Path2%*%Path3%*%Path4%" /closeonend:3
@pause
for /f "delims=" %%i in ("%Path1%") do (copy "%%i" "%Path3%")
for /f "delims=" %%i in ("%Path2%") do (copy "%%i" "%Path4%")
@pause
start TortoiseProc.exe /command:commit /path:"%Path3%" /closeonend:0
start TortoiseProc.exe /command:commit /path:"%Path4%" /closeonend:0
原文地址:https://www.cnblogs.com/dabaicai0703/p/11643588.html
时间: 2024-11-02 21:07:27