title: batch file to copy only newly created or modified folders
body: <p>I want to create a batch file which will copy only newly created folders.I am using the following code but with this it is picking only files(text file or xml files) not the folder.</p>
  
  <pre><code>xcopy "D:\Splunk\var\lib\splunk\defaultdb\db"  "D:\test\Incremental_data_backup\"  /m 
  </code></pre>
  
  <p>Please suggest what I am missing</p>
  
  <p>Thanks
  Vikas</p>