[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Running Microsoft SourceSafe from the command line

Posted on 2000-04-04
12
Medium Priority
?
857 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
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 

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 400 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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
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 video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

650 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