Solved

Running Microsoft SourceSafe from the command line

Posted on 2000-04-04
12
816 Views
Last Modified: 2013-12-03
I'm trying to get the latest verision of a project, using the command line parameters. But SS keep asking me for username and password, but I cant login.

ss Get $/myproj -R

My user/password is ok when running the GUI.
The project exists

Any clues?

0
Comment
Question by:ChristerH
  • 5
  • 3
  • 2
  • +2
12 Comments
 
LVL 86

Expert Comment

by:jkr
Comment Utility
Have your tried an account name like

DOMAIN\user

?
0
 
LVL 23

Expert Comment

by:chensu
Comment Utility
You can set the SSUSER environment variable to your user name to avoid the logon prompt each time you enter a command from the command prompt. For example,

set ssuser=ChristerH
0
 
LVL 1

Expert Comment

by:nv3prasad
Comment Utility
When starting the Visual SouceSafe Explorer (ssexp.exe), the -y command line option could be used to specify the Vss userid.

Make a short cut to ssexp.exe and add the following command line parameters.

For example, "C:\Program Files\Microsoft Visual studio\VSS\win32\SSEXP.EXE" "-yChristerH"

In addition, the -p and -s command line options could be used to specify the srcafe.ini (database) and project name respectively.

For example,
"C:\Program Files\Microsoft Visual Studio\VSS\win32\SSEXP.EXE" "-yChristerH " "-p$/myprojr" "-s\\DOMAIN\SOURCESAFEDATABASE"
0
 

Author Comment

by:ChristerH
Comment Utility
I have to test these tips, I'll be back ...
0
 

Author Comment

by:ChristerH
Comment Utility
Hi!

Domain does not work ...

>ss Get
Username: MyDomainName\Christer
Password: ******
Bad username syntax: "MyDomainName\Christer"

I don't want to run ssexp, only the command line ss program.

I also tried with

ss Get -p$/MyProj -R -s\\MyServer\MyShare\srcsafe.ini

More clues?

/Christer
0
 
LVL 23

Expert Comment

by:chensu
Comment Utility
Have you tried my suggestion?
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

by:ChristerH
Comment Utility
yes, unfortunately it did not work ...
0
 
LVL 23

Expert Comment

by:chensu
Comment Utility
Make sur that your SS user name and password are the same as your domain user name and password.
0
 

Author Comment

by:ChristerH
Comment Utility
They are the same .... more ideas?
0
 

Author Comment

by:ChristerH
Comment Utility
It works if I write

\\MyServer\MyShare\win32\ss.exe Get $/Installation -R

why?
0
 

Expert Comment

by:opichals
Comment Utility
Hi! I have the same problems some time recently. Everything was solved by setting the ssdir environment variable to the right SS database path.
like

ssdir=//server/sourcesafe

regards

Stan
0
 

Accepted Solution

by:
opichals earned 200 total points
Comment Utility
Sorry the previous comment should be assigned as answer to your problem.

Hi! I have the same problems recently. Everything was solved by setting the ssdir environment variable to the right SS database path. Like:

ssdir=//server/sourcesafe

regards

Stan
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now