title: TFS: How can you Undo Checkout of Unmodified files in a batch file
body: <p>We use a batch file to generate code, and it automatically checks out the generated files from Team Foundation Server (TFS) so that it can regenerate them. The majority of these files are not modified, but the generator does not know this ahead of time.</p>
  
  <p>The "tfs undo" command undoes the checkout, but prompts if some have been modified (which we don't want to do). We also do not want to check in the generated files right away.</p>
  
  <p>Is there a command (or series of commands) to undo checkout of all unmodified files without prompting the user? </p>