The general reference is here:
http://msdn2.microsoft.com/en-us/library/cc31bk2e(vs.80).aspx
The practice here is to use tf.exe from version 9.0 of Visual Studio here:
"%ProgramFiles%\\Microsoft Visual Studio 9.0\\Common7\\IDE\\tf.exe"
tf.exe is used against a ‘disconnected’ copy of Visual Studio project files to define a Workspace that is separate from my ‘real’ Visual Studio code. This was done because any Team Foundation GUI fun running in Visual Studio is annoying to me!
The files in the Workspace should be read-only because of the checkin command in the procedure below:
i) Check out the files with a command like this:
tf checkout /recursive /login:your\\login codeplex_yourfolder/*.*
ii) Copy the changes from your ‘real’ code into the Workspace folder(s). You might want to use the XCOPY command in a script.
iii) Verify any changes with this command:
tf status /recursive /login:your\\login codeplex_yourfolder/*.*
iv) Check in your changes with a command like this:
tf checkin /comment:"My comment..."
/recursive /login:your\\login codeplex_yourfolder/*.*
In this example, all commands were run from the parent folder of \\codeplex_yourfolder.