TFS: Search for a file by name in source control

If you are using Visual Studio 2010

  • Right click on your collection or team project
  • Select ‘Find in source control’
  • Then select ‘status’ or ‘wildcard’
  • You can search for your files there

The following will list all the items in your repository without checking them out

tf Dir command

tf dir /recursive $/

you can pass in the item you are searching for also e.g.

tf dir /recursive $/*.cs

gets all the .cs files in all team projects

Note: depending on how big your source is, this could take sometime.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)