title: SVN checkout automation batch
body: <p>I have come up with this</p>
  
  <pre><code>echo.
  echo. [ SVN Updater ]
  setlocal enableDelayedExpansion
  set SOURCE=E:\Svncheckout\
  set SVN=C:\Program Files\TortoiseSVN\bin
  set SVN_REPO_URL=https://SVNSERVERIP/svn/
  set projects=project1/branches/hello1 project2/branches/hello2
  set checkoutdir=project1 project2
  echo.
  SET PROJCOUNT=0
  (for %%i in (%projects%) do (
    echo. Checking out %SVN_REPO_URL%%%i from SVN...
    "%SVN%\TortoiseProc.exe" /command:checkout /path:"%SOURCE%%checkoutdir[0]%" /url:"%SVN_REPO_URL%%%i" /closeonend:2
     PROJCOUNT+=1;  
  )
  )
  echo.
  echo. Operation complete.
  </code></pre>
  
  <p>I would like to iterate the <code>checkoutdir</code> list array with each directory name. I'm stuck here. I'm newbie to batch programming. Kindly help</p>
  
  <p>Method 2 : </p>
  
  <pre><code>echo.
  echo. [ SVN Updater ]
  setlocal enableDelayedExpansion
  set SOURCE=E:\Svncheckout\21MAY2016\
  set SVN=C:\Program Files\TortoiseSVN\bin
  set SVN_REPO_URL=https://192.168.1.35:8443/svn/
  set projects=JPO/JPOMobile/branches/2016-05-18 JPO/JPOWEB/branches/20160518
  set checkoutdir=JPOMobile JPOWEB
  set /A CHECKOUTCOUNT=1
  set /A PROJCOUNT=0
  (for %%i in (%projects%) do (
           SET /A "PROJCOUNT+=1"
      (for %%a in (%checkoutdir%) do (
          IF ("%PROJCOUNT%"=="%CHECKOUTCOUNT%") (
              echo. Checking out %SVN_REPO_URL%%%i from SVN...
              "%SVN%\TortoiseProc.exe" /command:checkout /path:"%SOURCE%%%a" /url:"%SVN_REPO_URL%%%i" /closeonend:2
              SET /A "CHECKOUTCOUNT+=1"
          )    
  
      ))
  ))
  echo.
  echo. Operation complete.
  </code></pre>
  
  <p>In the second method, it errors, set /A PROJCOUNT=0 in unexpected at this time.I think there is some problem in the <code>for</code> loop</p>