HOWTO: Create a Unique SRCSAFE.INI File

Last reviewed: August 13, 1997
Article ID: Q123472
The information in this article applies to:
  • Microsoft Visual SourceSafe, version 4.0, 5.0
  • SourceSafe for MS-DOS, versions 3.0x
  • SourceSafe for Windows, versions 3.0x
  • SourceSafe for Macintosh, versions 3.0x
  • SourceSafe for Windows NT, versions 3.0x
  • SourceSafe for UNIX, versions 3.0x

SUMMARY

To create a unique SRCSAFE.INI file, use the SSDIR environment variable:

  1. Create a new SRCSAFE.INI file and place it in the desired location.

  2. If you want include the default SRCSAFE.INI in the unique copy, add the following line:

          #INCLUDE <SS path>\SRCSAFE.INI
    

  3. Create the following environment variable:

          SET SSDIR=<path to VSS directory>
          
    
    (such as SET SSDIR = \\MyServer\MyVSSdir)

While it is possible to do this with Visual SourceSafe 5.0, in is not necessary. Simply open the database using file->open.

<<BULK-DELIM>>> <<<CONTENTNUM>>> 123471 <<<CONTENTTYPEID>>> 1 <<<TITLE>>> HOWTO: Change the Data Directory Location <<<LONGTITLE>>> HOWTO: Change the Data Directory Location <<<PRODUCT>>> ssafe <<<PRIORITY>>> <<<SECURITY>>> PUBLIC <<<AUTHOR>>> janetri <<<EDITOR>>> kayda <<<EDITSTATUS>>> Released <<<TECH>>> kayda <<<TECHSTATUS>>> <<<EXPIREDATE>>> Dec 31 1999 12:00AM <<<MESSAGE>>> <<<KEYWORD>>> kbsetup SourceSafe vbwin vss kbenv <<<INTERNALADMIN>>> kbDSupport <<<QUESTION>>> <<<PRODVERNUM>>> 3.0x 4.0 5.0 <<<COMPONENT>>> <<<TECHNOLOGY>>> <<<LINKS>>> <<<RAIDINFO>>> <<<INCIDENT>>> <<<SWEEPDATE>>> <<<SWEEPSTATUS>>> <<<SOLUTIONTYPE>>> <<<ISSUETYPE>>> <<<PLATFORM>>> MACINTOSH MS-DOS NT UNIX WINDOWS <<<HARDWARE>>> <<<BOILERPLATE>>> <<<PRODUCEDVIEW>>> kbhowto <<<TEXT>>> The information in this article applies to:

  • Microsoft Visual SourceSafe, versions 4.0, 5.0
  • SourceSafe for MS-DOS, versions 2.0x, 3.0x
  • SourceSafe for Windows, versions 2.0x, 3.0x
  • SourceSafe for Macintosh, versions 2.0x, 3.0x
  • SourceSafe for Windows NT, versions 2.0x, 3.0x
  • SourceSafe for UNIX, versions 2.0x, 3.0x

SUMMARY

To move the SourceSafe data directory to a location different from the SourceSafe location, follow these steps:

  1. Copy the DATA directory to the new directory.

    IMPORTANT: Make sure you copy all subdirectories even if they are empty. SourceSafe will not work correctly if they are not present. SourceSafe users must have FULL rights in the target directory.

    To reduce confusion, you may want to delete the old directory once you have successfully copied the DATA directory to its new location.

  2. Edit the SRCSAFE.INI file using any text editor. Change this line:

          Data_Path = data
    

    to this line:

          Data_Path = <new path>\data_dir
    

    NOTE: This variable must be defined in the SRCSAFE.INI for version 3.X and in the SYSTEM.INI for version 2.X.

REFERENCES

See "SourceSafe Concepts and Configuration" Manual, p.154.

Keywords          : SourceSafe vbwin vss kbenv kbsetup kbhowto
Version           : 3.0x 4.0
Platform          : MACINTOSH MS-DOS NT UNIX WINDOWS


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 13, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.