title: Windows batch autoanswer XCOPY /i
body: <p>I have created a batch file which uses FOR command to read a file of FROM Directory, FROM File, TO Directory, TO File as the parameters. (I am giving the files NEW names in the destination)</p>
  
  <p>Everything works great until I add a new file to the mix.</p>
  
  <p>In <code>XCOPY /i</code> option says it is a directory (which is NOT true). IF I don't use <code>/i</code> it wants to know if it is a file or a directory. It is ALWAYS a File. Is there a way I can autoreply or does someone have another suggestions.</p>