run a .bat file using python code
<p>I try to run a .bat file in windows using python script.</p>

<p>ask.Bat file:</p>

<pre><code>Application.exe work.xml
</code></pre>

<p>I write python code :</p>

<pre><code>import os
os.system("D:\xxx1\xxx2XMLnew\otr.bat ")
</code></pre>

<p>Output: when try to run the file its just give a blink of the command prompt,and the work is not performing.</p>

<p>Note: I try with alternate slash also , but it is not working.
And i also want to save output of the file in another file
Can anyone suggest how can i make the script runnable.</p>

<p>Thanks 
Silver</p>
