title: Scheduled batch script backup folders
body: <p>Hello not sure where I should place this question but;</p>
  
  <p>I want to run a batch script on a windows machine every night around midnight.</p>
  
  <p>All I want it to do is back up all files and folders on a network drive and copy this to a hard drive on the computer running the batch script. The only thing unsual I want it do is exclude copyying a folder called trashbox</p>
  
  <pre><code>Local Computer
  C:\BACKUP\
  
  Network Drive
  Z:\FILES\*
  exclude Z:\FILES\trashbox
  </code></pre>
  
  <p>So it needs to;</p>
  
  <ol>
  <li>Remove previous days backup</li>
  <li>Start at midnight</li>
  <li>Backup all files and folders on Z:\FILES*</li>
  <li>Exclude Z:\FILES\trashbox* from copying</li>
  </ol>
  
  <p>Any ideas would be most appreciated!!</p>