title: Scripting TFS Command Line for Get Latest Version, Check Out and Check in, programmatically
body: <p>I use WinXP, VS 2008 and Team Explorer to connect to Team Foundation Server.</p>
  
  <p>I need to script (e.g. BAT file script) the following:</p>
  
  <ul>
  <li>Get latest version of folder in Team Project.</li>
  <li>Check out files of folder in Team Project.</li>
  <li>Check in files of folder in Team Project.</li>
  </ul>
  
  <p>My TFSProject is <code>$/Arquitectura/Main/</code>, mapped to the path <code>C:\TFS\Arquitectura</code></p>
  
  <p>Does anyone have any sample code or suggestions?</p>