Setting the SSDIR environment variable in Microsoft Visual Source Safe

July 27, 2008

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#