<div><br></div><div class="gmail_quote">On Sat, Feb 11, 2012 at 11:35 AM, Dave Angel <span dir="ltr">&lt;<a href="mailto:d@davea.name">d@davea.name</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
(Please don&#39;t top-post.  Please put your comments after whatever parts you&#39;re quoting (replying to) )<div class="im"></div></blockquote><div><br></div><div>Apologies Dave.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">
<br></div>
You need to learn how to create a DOS window (or cmd window, just another name for same thing) in Windows.  One way is to use the RUN prompt in the Start menu, and run the program  CMD.  Another is to go to the Start Menu-&gt;Accessories-&gt;DOS box.  it&#39;s been a long time since I ran Windows, so it may have some different name, but it should be in your accessories somewhere.  Since I use such a shell constantly, I created a shortcut key to open one.<br>

<br>
Once you do that, you should see a &quot;box&quot; with a C: prompt.  It is indeed black, but you can customize it in many ways.  From there you can type all the commands that Walter was telling you about.  And it normally won&#39;t go away when a program finishes running, so you don&#39;t have the &quot;black and appears for a millisecond&quot; syndrome.<br>

<br>
Windows will create one of these if you run console things from the GUI, but it also destroys them as soon as the program ends.<span class="HOEnZb"><font color="#888888"><br>


<br>
-- <br>
<br>
DaveA<br>
<br>
</font></span></blockquote></div> I did mention very early on in my query that I had restricted access to the Dos CMD prompt, hence why I asked if anyone knew how to create a self contained prompt within the Python program. I was under the impression that the .bat file Walter described would fill that gap.<div>
<br></div><div>Thanks for your comments too, but your solution unfortunately is not one I can use as I cannot do all the usual methods to run the Dos prompt, .bat files are not a problem, I have used several in the past. My issue is that I cannot give commands directly to the Dos prompt and in turn not &quot;operate&quot; the python program as I can on my Ubuntu machine.</div>
<div><br></div><div>Thanks Guys,</div><div><br></div><div>Dave</div>