Setting the SSDIR environment variable in Microsoft Visual Source Safe

I have this problem crop up every once in awhile with using the command
line of Visual Source Safe 2005. I attempt to perform a task and I receive and error back saying “No VSS database (srcsafe.ini) found. Set the SSDIR environment variable to the path of srcsafe.ini for your VSS database.”

To correct this problem, open the command window and go to C:\Program Files\Microsoft Visual SourceSafe

Execute the following command:

set ssdir=\\yourserver\VSS\VSProjects

This should work, of course, verify where your srcsafe.ini file is located before setting the variable.

-Flea#

About these ads

One Response to Setting the SSDIR environment variable in Microsoft Visual Source Safe

  1. John Warlow says:

    A quick way to check you set the correct path: After calling:

    set ssdir=\\yourserver\VSS\VSProjects

    do:

    dir %ssdir%

    To check you see srcsafe.ini

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: