Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get List of Files checked-out in Visual Source Safe 6.0

On a weekly basis, I need to generate a List of Files from my Visual Source Safe 6.0 server, which are in Checked-out State. The list should provide the Filename and the User ID which has checked-out the file.

Is there any command-line program which I can use to achieve the above objective? Or is there any external tool/utility to do this job for me?

like image 373
kamleshrao Avatar asked Aug 03 '09 13:08

kamleshrao


1 Answers

From the command line:

  1. cd C:\Program Files\Microsoft Visual SourceSafe
  2. SET SSDIR=<path to folder containing srcsafe.ini>
  3. ss Status $/ -R > checked-out-files.txt

And then check the contents of checked-out-files.txt for your check-outs.

For example:

My srcsafe.ini was in C:\Program Files\Microsoft Visual SourceSafe\MasterDatabase.

So, my command line looked like this:

  1. cd C:\Program Files\Microsoft Visual SourceSafe
  2. SET SSDIR=MasterDatabase
  3. ss Status $/ -R > checked-out-files.txt

That's it. Easy.

To get only one user's check-outs:

Way to see all files ever checked into Visual SourceSafe by a user?

like image 118
Bill Paetzke Avatar answered Dec 09 '22 09:12

Bill Paetzke