How to get the list of currently checked out files in TFS?


One of the most common question asked by clients is how to fetch the list of currently checked-out files under any TFS project? In VSS, there use to be UI context menu option which retrieves the list of checked out files, but there is not like that in VS 2005 or VS 2008 with TFS.

 

Alternative is to use following command line statement to fetch all checked-out files for any specific project on the TFS server.

 

tf.exe status $/[PROJECTNAME] /user:* /s:http://[TFS SERVER NAME]:[PORT] /recursive > [PATH TO SAVE THE OUTPUT]

 

Example,
tf.exe status $/PROJECTNAME /user:* /s:http://paapp1216:8080 /recursive > c:\checkedout.txt

 

Personally I have added this command into the "External Tools..." list of VS.

Comments (2)

  1. idiot says:

    I tried the same but it showed me error that : You are not authorised to access that server.

    Please help

  2. Annon says:

    But is there any option without added that extension to VS?

Skip to main content