How To Change the Data Directory Location (123471)



The information in this article applies to:

  • Microsoft Visual SourceSafe for Windows 4.0
  • Microsoft Visual SourceSafe for Windows 5.0
  • Microsoft Visual SourceSafe for Windows 6.0
  • Microsoft SourceSafe for MS-DOS 2.0x
  • Microsoft SourceSafe for MS-DOS 3.01
  • Microsoft SourceSafe for MS-DOS 3.02
  • Microsoft SourceSafe for MS-DOS 3.04
  • Microsoft SourceSafe for Windows 2.0x
  • Microsoft SourceSafe for Windows 3.01
  • Microsoft SourceSafe for Windows 3.02
  • Microsoft SourceSafe for Windows 3.04
  • Microsoft SourceSafe for Macintosh 2.0x
  • Microsoft SourceSafe for Macintosh 3.01
  • Microsoft SourceSafe for Macintosh 3.02
  • Microsoft SourceSafe for Macintosh 3.04
  • Microsoft SourceSafe for Windows NT 2.0x
  • Microsoft SourceSafe for Windows NT 3.01
  • Microsoft SourceSafe for Windows NT 3.02
  • Microsoft SourceSafe for Windows NT 3.04
  • Microsoft SourceSafe for UNIX 2.0x
  • Microsoft SourceSafe for UNIX 3.0
  • Microsoft SourceSafe for UNIX 3.01
  • Microsoft SourceSafe for UNIX 3.02
  • Microsoft SourceSafe for UNIX 3.04

This article was previously published under Q123471

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 or later and in the SYSTEM.INI for version 2.x.

REFERENCES

See "SourceSafe Concepts and Configuration" Manual for version 3.x, p.154.

Modification Type:MinorLast Reviewed:6/29/2004
Keywords:kbhowto kbsetup KB123471