title: Copy from variable to variable
body: <p>For my batch file I need to do a few different things...I have completed steps 1-3</p>
  
  <p>1) Perform a dir search and save the result of that search in a variable<br>
  2) Set the destination path as a variable<br>
  3) Copy the source file to the destination path</p>
  
  <p>My code so far :</p>
  
  <pre><code>@echo off
  cls
  cd /d D:\Downloads\Videos
  set "flshvid=&amp;dir *flash*.mkv /s /b"
  set "flshdir=O:\Aayush\Videos\TV Shows\The Flash\Season 3"
  xcopy %flshvid% %flshdir%
  </code></pre>
  
  <p>Why doesn't this code work?
  Any help is appreciated. Thanks in advance!</p>