title: Windows .BAT to move all directories matching mask from dir A to dir B
body: <p>I want to write a .BAT file to move all sub-directories (whose name matches a mask) of C:\WINNT\Temp to H:\SOMEOTHERPLACE.</p>
  
  <p>So if my mask is ABC* then the directories :</p>
  
  <pre><code>C:\WINNT\Temp\ABC1
  C:\WINNT\Temp\ABC2
  C:\WINNT\Temp\ABC3
  </code></pre>
  
  <p>should be moved to </p>
  
  <pre><code>H:\SOMEOTHERPLACE 
  </code></pre>
  
  <p>and everything else (including files, as opposed to directories, which match the mask) should not. I do want to move them and not copy.</p>
  
  <p>Can anyone point me in the right direction ?</p>