Home > Team Foundation Server > Listing checked-out files in Team Foundation Server 2008 (TFS)

Listing checked-out files in Team Foundation Server 2008 (TFS)

September 18th, 2009 Leave a comment Go to comments

I needed a list of all checked-out files in TFS today.  This page came in handy! Thanks Clay!  Here’s what he had to say (slightly modified for VS 2008)

You can get a complete list of checked out files by using the tf.exe command line tool found in: C:\Program Files\Microsoft Visual Studio 9\Common7\IDE or C:\Program Files (x86)\Microsoft Visual Studio 9\Common7\IDE for you 64 bitters.

All checked out files in $/MyProject:

tf.exe status $/MyProject /user:* /s:http://MyTfs:8080 /recursive

All files checked out to Mark:

tf.exe status /user:mark /s:http://MyTfs:8080

You can write the output to a file:

tf.exe status /user:* /s:http://MyTfs:8080 > c:\tfsCheckedOut.txt

I also created this little batch file that will automatically output results to your desktop. It’s very simplistic, but saves time having to mess with the command prompt. Edit with your favorite text editor, save, and away you go.

  1. No comments yet.
  1. No trackbacks yet.