title: create batch script file with user prompt and xcopy
body: <p>I'm trying to create a batch script file to help an administrative assistant in my work group. Let's call him John.</p>
  
  <p>John receives many CDs daily from clients containing architectural drawings as PDFs. Each CD is unique. John assigns it an Application Number, and creates a new folder on the network drive with the Application Number as the folder name. John then copies all the files on the CD to the newly created folder name. He repeats this process for every CD he receives. </p>
  
  <p>I don't have any programming experience so I hope you can lend me a hand. Here's what I wrote below but it's not working. I get an "Insufficient memory" error. A new folder name based on the user input is correctly created on the network drive path but it's empty. </p>
  
  <p>Thanks for your help! FYI, I'm running Windows 7 64-bit</p>
  
  <pre><code>@echo off
  echo Welcome team member!
  pause
  set /p anumber=Type in the Application Number then press Enter key when done. 
  mkdir "S:\ARCH\Active Forms and Files\Submittal Floor Plans\%anumber%\"
  :: e:\ is the CD drive path
  set source=e:\
  :: S:\ is a network drive
  set destination="S:\ARCH\Active Forms and Files\Submittal Floor Plans\%anumber%\"
  xcopy %source%\* %destination%\* /s /e /l /h /i &gt;nul 
  pause
  exit
  </code></pre>