title: xcopy file, rename, suppress "Does xxx specify a file name..." message
body: <p>This seems pretty simple and maybe I'm just overlooking the <a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/xcopy.mspx?mfr=true" rel="noreferrer">proper flag</a>, but how would I, in one command, copy a file from one directory to another and rename it in the destination directory?  Here's my command:</p>
  
  <pre><code>if exist "bin\development\whee.config.example"
    if not exist "TestConnectionExternal\bin\Debug\whee.config"
      xcopy "bin\development\whee.config.example"
            "TestConnectionExternal\bin\Debug\whee.config"
  </code></pre>
  
  <p>It prompts me with the following every time:</p>
  
  <blockquote>
    <p>Does TestConnectionExternal\bin\Debug\whee.config specify a file name
    or directory name on the target (F = file, D = directory)?</p>
  </blockquote>
  
  <p>I want to suppress this prompt; the answer is always <code>F</code>.</p>