How to: Clean Up Temporary Files

Visual SourceSafe places temporary file copies in the Temp directory when performing any operation involving file comparisons. Under most circumstances, temporary files are deleted when such operations are complete. If a user is unexpectedly disconnected from the database before the completion of an operation, however, the temporary file copy remains in the Temp directory.

To save disk space, you should clean the Temp directory every few weeks. Do not perform this operation when users are connected to the database, especially if they are performing Visual SourceSafe operations that involve file comparisons.

Note

When you install Visual SourceSafe, a Temp directory containing a single empty file is created by default. You can change the location of the Temp directory by editing the value of the Temp_Path initialization variable in the Srcsafe.ini file for the database. See Temp_Path Initialization Variable.

To delete temporary files:

  1. Ensure that all users are logged out of the database.

  2. In Visual SourceSafe Administrator, open the database.

  3. On the Tools menu, click Clean up Temp Directory.

  4. In the Clean Up Local Temporary Files Directory dialog box, indicate the path to the Temp directory.

  5. Click OK.

  6. Notify users that the database is ready to use again.

See Also

Reference

Clean Up Local Temporary Files Directory Dialog Box (Administrator)
Temp_Path Initialization Variable