@echo off
set Path1=H:dir1
set Path2=H:dir2
set Path3=H:dir3
set Path4=H:dir4
cd C:Program FilesTortoiseSVNin
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