title: Batch DOS - Renaming Folders
body: <p>I would like to run batch file to rename all FOLDERS ONLY. </p>
  
  <p>Let's say, I have following folders and files:</p>
  
  <pre><code>A1  ( Folder)
   |----&gt; A1.txt A1.doc
  
  B1 ( Folder)
   |----&gt; B1.txt B1.doc
  
  C1 ( Folder)
  |----&gt; C1.txt C1.doc
  </code></pre>
  
  <p>When I run batch file,  "1" should remove from folder, not from file name though.
  So, after you run it. you will get like :</p>
  
  <pre><code>  A  ( Folder)
       |----&gt; A1.txt A1.doc
  
      B ( Folder)
       |----&gt; B1.txt B1.doc
  
      C ( Folder)
      |----&gt; C1.txt C1.doc
  </code></pre>