Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 262997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T22:33:53+00:00 2026-05-11T22:33:53+00:00

I have tried several things so far, but I haven’t had much luck yet.

  • 0

I have tried several things so far, but I haven’t had much luck yet. I’m attempting to have a command line or PowerShell script that I can run once a day to make sure my numerous checked-out projects are up to date.

I know I would be looping through the directory folders inside my workspace, but when setting the variables I haven’t had any luck as it will error out. I am using TortoiseSVN, and Windows Vista.

Here is what I have so far:

echo == Initiating system instance variables...
echo. -- Setting the variables...

:: Here you need to make some changes to suit your system.
set SOURCE=C:\workspace\Project
set SVN=C:\Program Files\TortoiseSVN\bin
:: Unless you want to modify the script, this is enough.

echo. %SOURCE%
echo. %SVN%
echo. ++ Done setting variables.
echo.
echo == Updating source from SVN
echo. -- Running update...
"%SVN%\TortoiseProc.exe" /command:update /path:"%SOURCE%" /closeonend:2
echo. ++ Done.

echo. -- Cleaning up...
set SOURCE=
set SVN=
echo. ++ Done.

@echo off
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T22:33:53+00:00Added an answer on May 11, 2026 at 10:33 pm

    It might be easier in PowerShell:

    Set-Alias tsvn 'C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe'
    dir C:\workspace | %{ tsvn /command:update /path:"$($_.FullName)" /closeonend:2 }
    

    Or if you want to specify certain project directories:

    cd C:\workspace
    $projects = 'Proj 1','Proj 2','Proj 3'
    $projects | %{ tsvn /command:update /path:"$_" /closeonend:2 }
    

    PowerShell scripts have a ps1 extension. You might also have to update the execution policy to allow scripts to run:

    Set-ExecutionPolicy RemoteSigned
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is what I have. I have tried several things but I can't figure
I have tried several things but it does not work. Basically, I want to
I have tried several of the solutions I have seen out here, but am
This has been asked before. I have tried several things and read a lot
I have tried several mySQL queries to compare a column of dates stored as
I have tried several ways to login to a website through java. I have
I am stumped by this one. I have tried several angles and some come
I really need advice on how to do the following. I have tried several
I am trying to load a URLRequest in UIWebview. I have tried with several
I have tried looking though several of the already asked question about this topic

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.