title: how to copy and paste file into folder using batch
body: <p>I want to create a batch file which copy the content of folder and paste it into another folder. Say</p>
  
  <pre><code>     source: D:\backup\test
  destination: D:\backup1
  </code></pre>
  
  <p>But here i want to create a subfolder into destination into which i can paste the file. </p>
  
  <pre><code> @echo off
     :: variables
  
     echo Backing up file
     set /P source=Enter source folder:
     set /P destination=Enter Destination folder:
  
     set listfile=xcopy /L
     set xcopy=xcopy /S/E/V/Q/F/H
  
     %listfile% %source% %destination%
  
     echo files will be copy press enter to proceed
     pause
  
     %xcopy% %source% %destination%
     pause
  </code></pre>