TFS & Visual Studio ALM – by Neno Loje

(formerly Team System, VSTS)

Download files from TFS version control and set the file last access timestamp to the file’s last check-in time

March 14th, 2011 · 10 Comments · Team Foundation Version Control, Tools and Utilities

Often I hear the following questions about TFS version control:

  • Can I just download files or folders from TFS without having to create a workspace?
  • Can I specify that files do not have the read-only attribute set?
  • Can I configure that files show the last check-in time as last write time?
  • Can can I “export” files from TFS and remove the bindings to my TFS?

The answer is: Yes, you can!

Using tfsexport.exe:

Corrected the typo - Thanks, Matt!

A few notes on what the tool offers:

  • Files/Folders are downloaded from TFS without requiring a workspace.
  • There is no read-only flag set on the files exported.
  • Optionally sets the file time to the time of last check-in.
  • Optionally removes the source control bindings (from VS solution/project files).

Download the tool from here:

  • For Team Explorer 2010: TfsExport.exe (.ZIP, 5,58 KB)
  • For Team Explorer 2012: TfsExport.exe (.ZIP, 5,60 KB)
  • For Team Explorer 2013: TfsExport.exe (.ZIP, 13,01 KB)
  • Prerequisite: For the versions above, this tool requires VS or Team Explorer to be installed.
  • For TFS 2015/2017: (.ZIP, standalone)

(Special thanks to Grant Holliday and Marcel de Vries)



10 Comments so far ↓

Leave a Comment