title: How to DIRECTLY execute command in txt file in cmd?
body: <p>I have a question.  </p>
  
  <blockquote>
    <p>How can I execute command in a plain text file?</p>
  </blockquote>
  
  <p>I know it seems crazy and I can simply rename it as a .bat file BUT it is important for me.<br>
  Without renaming it, can i execute it in CMD?</p>
  
  <p>I know I can simply do this :</p>
  
  <pre><code>ren command.txt command.bat &amp; call command.bat &amp; ren command.bat command.txt
  </code></pre>
  
  <p>But this is too inconvenient. Any simpler way?</p>