title: Windows batch script to move files
body: <p>I need to move files from one directory to another in windows, and I need to write this in a batch script.</p>
  
  <p>We have written a SQL job where backup files will be created every 4 hours on the <code>D:</code> drive and last 4 backup files will be saved and others will be deleted.</p>
  
  <p>I need to write a batch script to move these files from the <code>D:</code> drive to the <code>E:</code> drive every 10 hours.</p>
  
  <p>Can anyone help me to write this script.</p>