title: How can I sort through a folder and move only specific files?
body: <p>I have a ton of .zip files in a folder that I want to move into a new folder I made IF it fulfills a certain condition in its name. Like, if it has the date inside the filename, I want to move it into the folder.
          cd C:\Users\eyousea\Documents\Test</p>
  
  <pre><code>    set today=%date:~10,13%%date:~4,2%%date:~7,2%
      md %today%
  
      for %%a in (*.zip) do(
      set fileday=%%a:~1,8%
      if %today% = %fileday% (
      move %%a "C:\Users\eyousea\Documents\Test\%today%"
  
      pause
  </code></pre>
  
  <p>I'm not sure what's wrong. How can I accomplish this?</p>