Microsoft KB Archive/176350

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


How To Open Visual SourceSafe to a Specific Database

Article ID: 176350

Article Last Modified on 7/1/2004



APPLIES TO

  • Microsoft Visual SourceSafe 5.0 Standard Edition
  • Microsoft Visual SourceSafe 6.0 Standard Edition



This article was previously published under Q176350

SUMMARY

By default the Visual SourceSafe Explorer opens the last database that you used. This article demonstrates how to open a different database when you start the Visual SourceSafe Explorer by using an -S switch.

MORE INFORMATION

By using the -S switch, you may direct the SSEXP to a different Srcsafe.ini file. The Srcsafe.ini should contain a pointer to a valid Visual SourceSafe 4.0a or 5.0 data directory. The command is as follows:

C:\VSS\WIN32\SSEXP.EXE -S\\SourceSafe\Servers\Training


-or-

C:\VSS\WIN32\SSEXP.EXE -SF:\Programs\VSS


By executing these commands, you may invoke an open dialog box that enables the user to verify the Srcsafe.ini selection. After confirming this selection, the Visual SourceSafe 4.0a or 5.0 database that Srcsafe.ini points to is opened. To bypass the login dialog box, you can add the -y switch ( -y<username, password>).

Within Windows 95 or Windows NT you can create a shortcut whose Target URL (shown in the shortcut Properties dialog box) uses the command described above. By doing this, you can open the specified database by double- clicking the shortcut icon. If you have several Visual SourceSafe databases, you can create a shortcut for each one, making it easy to pick the database that you want to work on.

In Visual SourceSafe version 6.0, you can create a shortcut to a specific project by choosing Create Shortcut from the File menu.

REFERENCES

Visual SourceSafe "User's Guide," version 5.0, page 181

Keywords: kbhowto KB176350