title: rename multiple files in order with command prompt
body: <p>I have some files with different names.</p>
  
  <blockquote>
    <p>Leviathan.txt,Dragon.txt and so on</p>
  </blockquote>
  
  <p>I wanted to turn it into a digit begins</p>
  
  <blockquote>
    <p>1.txt,2.txt,3.txt,4.txt and so on</p>
  </blockquote>
  
  <p>how to perform like other language by using For and function that can pass amount files in folder?</p>
  
  <p>my code so far i know is dir and ren. and i stuck now.</p>
  
  <pre><code>ren *.txt 1.txt
  </code></pre>