title: loop through directory names using a batch file?
body: <p>Assume I have this structure:</p>
  
  <pre><code>d:/
    -- /alpha/
    -- /beta/
    -- /gamma/
    -- /delta/
  </code></pre>
  
  <p>I'm trying to execute a batch file that goes through those folders (but not through sub-folders within them).</p>
  
  <p>How do I get this result using a FOR LOOP (assuming I don't know the name and quantity of the folders):</p>
  
  <pre><code>ren alpha alpha1
  ren beta beta1
  ren gamma gamma1
  ren delta delta1
  </code></pre>