Solved

Running Microsoft SourceSafe from the command line

Posted on 2000-04-04
12
830 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
  • 2
  • +2
12 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 2684990
Have your tried an account name like

DOMAIN\user

?
0
 
LVL 23

Expert Comment

by:chensu
ID: 2685055
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
ID: 2685756
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
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 

Author Comment

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

Author Comment

by:ChristerH
ID: 2699229
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
ID: 2700895
Have you tried my suggestion?
0
 

Author Comment

by:ChristerH
ID: 2701527
yes, unfortunately it did not work ...
0
 
LVL 23

Expert Comment

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

Author Comment

by:ChristerH
ID: 2712393
They are the same .... more ideas?
0
 

Author Comment

by:ChristerH
ID: 2714021
It works if I write

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

why?
0
 

Expert Comment

by:opichals
ID: 2722854
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
ID: 2722884
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Need example 5 130
Build VS2015 project in bat command 3 101
How can my static class become undefined?? 8 89
C# LINQ ForEach() question 6 88
This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
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…

726 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