title: Batch file to move files to another directory
body: <p>I hope that you can help me with this one. It might have been asked multiple times already (I know that), but for some reason, I just can't have it working.</p>
  
  <p>I want to move some files from the "files" directory to the root directory.</p>
  
  <p>So the files are, for example:</p>
  
  <pre><code>test1.txt test2.txt test3.zip test4.zip test5.exe test6.exe
  </code></pre>
  
  <p>I want these files to be moved to different directories.</p>
  
  <p>So I'm using something like this:</p>
  
  <pre><code>move files\*.txt ..\txt /q
  move files\*.zip ..\zip /q
  move files\*.exe ..\exe /q
  </code></pre>
  
  <p>But I always get errors. It can't find the files and then the CMD stops working.</p>
  
  <p>Thanks.</p>
  
  <p>EDIT:</p>
  
  <p>It's working like this:</p>
  
  <pre><code>move /y .\files\*.txt ..\txt
  move /y .\files\*.zip ..\zip
  move /y .\files\*.exe ..\exe
  </code></pre>
  
  <p>But now it won't move the file to the parent directory.</p>