Using svn in CLI with Batch

del %~n0.txt
@echo off
setlocal EnableDelayedExpansion
for /f "delims=" %%i in ('DIR /A:D /B') do (
echo ==================================================== >> %~n0.txt
REM svn info %%i >> %~n0.txt
REM svn update %%i >> %~n0.txt
svn cleanup %%i
)
%~n0.txt

原文地址:https://www.cnblogs.com/rgqancy/p/4679845.html