Way to see all files ever checked into Visual Sour

2020-05-27 09:19发布

问题:

Is there a way in Microsoft Visual SourceSafe to see all the files I've ever checked-in?

回答1:

With a project selected, go to Tools, Show History, tick Recursive, and enter your user name into User. Click OK.



回答2:

The command line may be faster, more efficient for this.

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 -U<username> > checked-out-by-username.txt

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

For example:

My srcsafe.ini was in C:\Program Files\Microsoft Visual SourceSafe\MasterDatabase. And my username was bpaetzke.

So, my command line looked like this:

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

If you want to get all users' check-outs, remove the -U<username> and give the output file a generic name.

Other command line info:

  • commands
  • options