Created
April 27, 2011 17:14
-
-
Save dieseltravis/944714 to your computer and use it in GitHub Desktop.
get changed files from TFS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
SET tfs=http://YOUR_TFS_SERVER:8080/ | |
:number | |
ECHO Enter changeset number (0 to exit): | |
SET /p chg= | |
IF NOT %chg% GTR 0 GOTO end | |
"%ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE\TF.exe" changeset /server:%tfs% %chg% /noprompt | |
GOTO number | |
:end |
@kiquenet tf history will do what you're looking for. Unfortunately, you're going to have to parse the output.
tf history * /version:D"2016-01-01"~D"2016-01-31" /recursive /noprompt /format:detailed
I'd suggest you use the tfs power tool commandlets for this. (sorry, no code example)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How get all files from all changeset by date (from date1 to date2) ?