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 MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please let me know on commandline VSS...

Status
Not open for further replies.

sasj0e

IS-IT--Management
Nov 6, 2002
82
Hi,
I need to automate certain operations on VSS and hence I am thinking of writing a batch file to do so.
I need to connect to vss server,login to specific database,set working directory,do get latest and execute few other batch files on the latest files.
This needs a batch file,which can do all the above operations,following from connection to vss server.
I tried, using the "ss get test.c" as specified in msdn. But I am prompted to enter username and password.
On providing username and password, its flags error saying <username> is not found.But I am able to login to vss from gui.
Could any body tell me whats wrong?and what should I do?
Thanks,
Sas
 
Hi,

Make sure you are pointing at the right srcsafe.ini (there may be more than one of these on your system).

SET SSDIR=C:\SS

Then for example, the command
ss Project -YUser
or
ss Project -YUser,Password

should print the current project.

I believe there is also an automation object for sourcesafe that you can get from the microsoft site.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top