Home / Software / Tips and Tricks / How to run Visual Source Safe's Analyze Utility on Command prompt?

How to run Visual Source Safe's Analyze Utility on Command prompt?

Category: Visual Studio
view more software Tips and Tricks
Updated:  01/31/2013 07:01 AM
Author:  Shiju Mathews

Status:    Resolved.


Scans a Visual SourceSafe database for integrity, displays information and errors in a results window, and optionally fixes any errors. You can use the utility from the command line or as part of a script for unattended operation.

1. Locate the ANALYZE Utility application: In windows 7 it is located at C:\Program Files (x86)\Microsoft Visual SourceSafe>

2. Open DOS command prompt
Change directory to C:\Program Files (x86)\Microsoft Visual SourceSafe

Locate the VSS Data directory on VSS server. In my network it is at P:\VSS\data

3. Type analyze P:\VSS\data on command prompt

Note: Refer http://msdn.microsoft.com/en-us/library/ysxsfw4x(v=vs.80).aspx for appropriate switches