Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SourceSafe From The Command Line

Status
Not open for further replies.

shaneras

MIS
Mar 29, 2001
13
US
This should be an easy question so I hope the answer is easy too :)

I am trying to execute sourcesafe commands from the command line such as:
ss Get cb -R -W to do a recursive get and copy the files locally making them writable.

My problem is I cant even do that because I am messing up while setting up the PATH and SSDIR environment variables. What is the correct syntax for setting these up? also do you set them in the user or system variable panes?

My Variable Setup:
PATH=%PATH%C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SSEXP.EXE

SSDIR=%PATH%;\\cbv\SSafe\srcsafe.ini

Thanks!
 
I don't have any reference to SourceSafe in my Path statement.

For SSDIR I have the path to the ssafe **directory**, so in your case I would set it to
\\cbv\ssafe

Should do it....

I don't use the commmand line myself but use a piece of software written by someone else which depends on it. I think it is that peice of software that also requires environment variables for SSPWD and SSUser (very secure! having them in environment vars!) but they may be necessary in your case too?
 
shaneras,
When working from the command line, there are three environment variables that are important. You got the first two, PATH and SSDir. For some in depth information about these variables, see
The third ini variable that you should consider setting is Force_Dir, which is explained in detail at
HTH,
microcog
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top