Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual SourceSafe
 Get (Command Line)

  Switch on low bandwidth view
Visual SourceSafe
Get (Command Line)

Retrieves read-only copies of the specified Visual SourceSafe files or projects to your working folder. For definitions of the command options, see Command Options in this Help system.

ss Get <items> [-G] [-H] [-I-] [-N] [-O] [-R] [-V] [-W] [-Y] [-?]

You must have the Read project right to use this command.

By default, the Get command retrieves the most recent version of the files or projects you specify. However, you can get earlier versions as well by using the -V option. See -V Option (Command Line).

Used recursively on a project (-R option), this command retrieves all the files in the project and its subprojects, and places them in subfolders of the same name in your working folder. If you set the initialization variable Force_Dir to Yes in your Ss.ini file, the recursive Get command will place subprojects in their own working folders.

Retrieves a read-only copy of the file Test.c in the current project:

ss Get TEST.C

Retrieves a read-only copy of the file Test.c that is labeled Final:

ss Get -VlFinal TEST.C

Retrieves read-only copies of all the files in the current project:

ss Get *

Retrieves read-only copies of all the files in the project $/WORD, and all its subprojects:

ss Get $/WORD -R
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Download a project with visual source safe command line (ss.exe)      Julio Améstica   |   Edit   |   Show History

This code allows us download source safe project recursively

rem ##########################
@echo Off
set SSDIR=\\[source safe database path]
set SSUSER=[source safe user]
set SSPWD=[source safe user's password]
ss GET $/[path project] -R
if %ERRORLEVEL% EQU 100 goto ERROR
if %ERRORLEVEL% EQU 0 goto END

:ERROR
echo %ERRORLEVEL% "Source Safe Error"

:END
rem ############################

P.D.:Previously you must configure reditect output.
See http://msdn.microsoft.com/en-us/library/90c0z17f(VS.80).aspx

Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker