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:https://[TFS SERVER NAME]:[PORT] /recursive > [PATH TO SAVE THE OUTPUT]
Example,
tf.exe status $/PROJECTNAME /user:* /s:https://paapp1216:8080 /recursive > c:\checkedout.txt
Personally I have added this command into the "External Tools..." list of VS.
Comments
Anonymous
May 14, 2014
I tried the same but it showed me error that : You are not authorised to access that server. Please helpAnonymous
May 14, 2014
But is there any option without added that extension to VS?