title: How to get pydoc command working in Windows?
body: <p><code>pydoc</code> does not work in Windows. at this post <a href="https://stackoverflow.com/questions/3391998/pydoc-is-not-working-windows-xp">Pydoc is not working (Windows XP)</a> the last answer by dave webb says to create a <strong>pydoc.bat</strong> file with this code in it:</p>
  
  <pre><code>@python c:\Python27\Lib\pydoc.py %*
  </code></pre>
  
  <p>After I create pydoc.bat where should it be placed so the <code>pydoc</code> command works in the command prompt?</p>
  
  <p><em>PS</em> adding <code>C:\python27\Lib\pydoc.py</code> to the Windows path in the system environment variables does not work. Even after logging out and back in it does not work. </p>