How do I get the latest version of my solution recursively like its done in the solution explorer context menu of Visual Studio? I want to do this from the command line or via a macro. I'm trying to automate a part of my daily routine by using a set of batch files. I am sure a lot of developers would love to have something like this.
tf get
only gets contents of a folder recursively (not solution). It does not look at project dependencies and so on. That won't work.
I know you mentioned batch files, but let me throw something else out for you.
I'm going to guess that you are using the 2005 version of TFS. 2008 has all of the scheduling stuff built in.
However, you could also use CruiseControl.net to do scheduled builds for you. I've used both TFS 2008 and CruiseControl and they both seem to work just fine.