<div>Hi all</div>
<div> </div>
<div>1.I want to know how do i write batchfile kind of file in python so that it executes some commands. Code snippets are required.</div>
<div>2.As well how do i invoke command prompt.</div>
<div> </div>
<div>Actually what i need is that i have to perform certain things in windows...first i have to go to start-&gt;run-&gt;type cmd</div>
<div>then command prompt window is open... in that to run an .exe i have to give the whole path like this c:\&gt; cd temp_folder\next_folder\test.exe... and many more commands...</div>
<div>So I want this to be perfomed in python. please help</div>
<div>Thanx in advance</div>
<div>Thnx &amp; rgds</div>
<div>ah</div>