title: Linux Command Line to Windows "ls"
body: <p>I read a previous question... found here: <a href="https://stackoverflow.com/questions/921741/windows-equivalent-to-unix-pwd">Windows equivalent to UNIX pwd</a></p>
  <p>Unfortunately, when I tried to do the same thing as what the person mentioned below (except for <strong>ls.cmd</strong> and <strong>@echo %dir%</strong>), it only displayed the words &quot;ECHO is on.&quot; in the command line. I did the same exact thing for pwd and it worked, but how come this doesn't work? Thanks.</p>
  <blockquote>
  <p>Open notepad as administrator and write:</p>
  <p>@echo %cd%</p>
  <p>Save it in c:\windows\system32\ with the name &quot;pwd.cmd&quot; (be careful not to &gt; save pwd.cmd.txt)</p>
  <p>Then you have the pwd command.</p>
  </blockquote>
  <p>EDIT: Maybe I should rephrase. I'm basically trying to create my own Windows command of the UNIX command &quot;ls,&quot; which lists directories (the same as Windows' &quot;dir&quot; command). This is strictly for learning purposes as I could just as easily type dir as ls, but I wanted to see why this doesn't work.</p>