Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Source Safe / October 2004

Tip: Looking for answers? Try searching our database.

Automatic Check-in, GetLatest, and Checkout

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Foehammer - 27 Oct 2004 23:01 GMT
Hello,
I would like to be able to do the following from the commandline using
Visual Source Safe with a number of C# projects on my system:

Check in all files for a project that are checked out
Get the latest version of all files in a project
Checkout all files in a project

Basically, I want to create a batch file (or even a simple app) that
will allow me to check in changes from my laptop to the server at work
when I arrive in the mornings. When I leave at night, I'd like to use
a similar batch file to retrieve the latest versions of several
projects. I'd also like to be able to check out several of the
projects exclusively (as I'm the only developer working on them).
Anybody done this?

Thanks,
Will Gant
foehammer@hotmail.com
Richard J - 28 Oct 2004 16:05 GMT
Check out the BOL topic regarding Using the VSS Command Line.

That will give you all the information regarding the syntax for the command
line to perform each task that you are asking about.  

Then, you can simply drop each of those commands into a batch file.

> Hello,
> I would like to be able to do the following from the commandline using
[quoted text clipped - 15 lines]
> Will Gant
> foehammer@hotmail.com

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.