title: Visual studio post build event command line "for" syntax
body: <p><code>Solution1</code> : { <code>Project1</code> (windows form), <code>Project2</code> (class library) }</p>
  
  <p>Trying to copy all .dll(s) I get from after compiling <code>Project1</code>, from the default directory (same as the .exe) to a <code>/lib</code> sub-folder.</p>
  
  <pre><code>if not exist Lib mkdir Lib
  for %i in (*.dll) move /Y "$(TargetDir)%i" "$(TargetDir)Lib\%i"
  </code></pre>
  
  <p>I have problem with the <code>for %i in (*.dll)</code> syntax. What is the correct way of doing it? </p>
  
  <p>Note: This would give no errors (but would copy only 1 .dll, not all):</p>
  
  <pre><code>if not exist Lib mkdir Lib
  move /Y "$(TargetDir)first.dll" "$(TargetDir)Lib\first.dll"
  </code></pre>