title: How to add a file thats copied from one directory to a folder in another directory thats incremented
body: <p>I am making a batch file that copies my Google bookmarks and pastes them into another folder ( Kinda like a backup) called " backup of bookmarks". I wanted to make the script run every day at the end of the day so I can always have a back up ( may make it a scheduled task), and so I inserted a command to make a new folder( inside of the folder called backup of bookmarks)  called " Backup" and have it increment by "1" every time the script is run ( ex: backup1; backup2; etc). I need help taking the file that I've just copied and have it pasted into the incremented folder. Here is the script, it copies and increments the folder, but I dont know how to make the copied file go into the incremented folder.</p>
  
  <pre><code>::this script backs up your Chrome bookmarks. 
  ::Checks to see if the folder exits and makes a new folder incremented by 1
  
  @echo off
  setlocal enableDelayedExpansion
  set "baseName=Backup"
  set "n=0"
  for /f "delims=" %%F in (
      '2^&gt;nul dir /b /ad "%baseName%*."^|findstr /xri "%baseName%[0-9]*"'
  ) do (
      set "name=%%F"
      set "name=!name:*%baseName%=!"
      if !name! gtr !n! set "n=!name!"
  )
  set /a n+=1
  md "%baseName%%n%"
  
  
  xcopy "C:\Users\jnicholas\AppData\Local\Google\Chrome\User Data\Default\bookmarks"  "C:\Users\jnicholas\Desktop\backup of bookmarks\"
  pause
  
  xcopy "C:\Users\jnicholas\AppData\Local\Google\Chrome\User Data\Default\bookmarks.bak"  "C:\Users\jnicholas\Desktop\backup of bookmarks"
  pause
  
  move /y | /-y "C:\Users\jnicholas\Desktop\backup of bookmarks\bookmarks" "C:\Users\jnicholas\Desktop\backup of bookmarks\"%baseName%%n%""
  </code></pre>