2

Please let me know the Batch file command to "get TFS advanced get specific with latest version"

Advanced --> Get Specific Version --> Type "Latest Version" --> Overwrite --> Get

jessehouwing
  • 106,458
  • 22
  • 256
  • 341
Mey
  • 21
  • 1
  • 3

1 Answers1

3

You can force a get using:

tf vc get /noprompt /recursive /overwrite /version:T path\to\workspace\root

To restore deleted files you can add /all or replace /overwrite /all with /force.

See also: https://www.visualstudio.com/en-us/docs/tfvc/get-command

jessehouwing
  • 106,458
  • 22
  • 256
  • 341