title: How to use the dir/s command in Python?
body: <p><strong>Background</strong></p>
  
  <p>I use the command <code>dir/s</code> in batch files all the time. But, I am unable to call this using python. <strong>NOTE:</strong> I am using Python 2.7.3.</p>
  
  <p><strong>Code</strong></p>
  
  <pre><code>import subprocess
  subprocess.call(["dir/s"])
  </code></pre>
  
  <p><strong>Error Message</strong> </p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;pyshell#2&gt;", line 1, in &lt;module&gt;
      subprocess.call(["dir/s"])
    File "C:\Python27\lib\subprocess.py", line 493, in call
      return Popen(*popenargs, **kwargs).wait()
    File "C:\Python27\lib\subprocess.py", line 679, in __init__
      errread, errwrite)
    File "C:\Python27\lib\subprocess.py", line 896, in _execute_child
      startupinfo)
  WindowsError: [Error 2] The system cannot find the file specified
  </code></pre>
  
  <p>I have tried changing the quotations but nothing has worked.</p>
  
  <p>How would I call the <code>dir/s</code> module using <code>subprocess</code>?</p>