title: Can't run multiple commands in command prompt using Python
body: <p>I'm trying to open the Windows command prompt using Python and then execute a few commands. This is the code I am using:</p>
  
  <pre><code>import os
  
  os.system("start /B start cmd.exe @cmd /k cd C:/ &amp; color 04")
  </code></pre>
  
  <p>Now the command prompt opens and the directory changes to just <code>C:\&gt;</code> but the second command to change the color of the text doesn't work and no errors are produced. When I run <code>cd C:/ &amp; color 04</code> in the command prompt itself, it works though. So it seems my problem lies with the <code>&amp;</code> sign in <code>cd C:/ &amp; color 4</code> since the command after the <code>&amp;</code> does not execute.</p>
  
  <p>How can I get this feature to work via my Python code (keep in mind I want the command prompt to be visible to the user)?</p>