Re: [Tutor] Opening a cmd.exe

2009-03-22 Thread Alan Gauld
"Mark Tolonen" wrote Does this do what you want? It creates a new cmd window titled "Dir", then executes some commands. import os os.system('start cmd /c title Dir ^&^& dir ^&^& pause') It didn't do quite what I expected, but it made me look at the help for start, which says: ==

Re: [Tutor] Opening a cmd.exe

2009-03-22 Thread Mark Tolonen
"Tim Golden" wrote in message news:49c65068.2080...@timgolden.me.uk... Tim Golden wrote: Alan Gauld wrote: "Sigga Sig" wrote I am writing a code that is supoesed to act as routers and i need to open a different cmd window for each one of them with it's name and so on. I do not know how

Re: [Tutor] Opening a cmd.exe

2009-03-22 Thread bob gailer
Sigga Sig wrote: Hello I am writing a code that is supoesed to act as routers and i need to open a different cmd window for each one of them with it‘s name and so on. Why are you opening cmd windows? The only reason I can imagine is that a human will be typing commands into them. If that

Re: [Tutor] Opening a cmd.exe

2009-03-22 Thread Tim Golden
Tim Golden wrote: Alan Gauld wrote: "Sigga Sig" wrote I am writing a code that is supoesed to act as routers and i need to open a different cmd window for each one of them with it's name and so on. I do not know how to implement in mi Python cod a sentece that opens such a cmd. I know how

Re: [Tutor] Opening a cmd.exe

2009-03-22 Thread Tim Golden
Alan Gauld wrote: "Sigga Sig" wrote I am writing a code that is supoesed to act as routers and i need to open a different cmd window for each one of them with it's name and so on. I do not know how to implement in mi Python cod a sentece that opens such a cmd. I know how to open a cmd.exe b

Re: [Tutor] Opening a cmd.exe

2009-03-22 Thread Alan Gauld
"Sigga Sig" wrote I am writing a code that is supoesed to act as routers and i need to open a different cmd window for each one of them with it's name and so on. I do not know how to implement in mi Python cod a sentece that opens such a cmd. I know how to open a cmd.exe bud not with specif

[Tutor] Opening a cmd.exe

2009-03-22 Thread Sigga Sig
Hello I am writing a code that is supoesed to act as routers and i need to open a different cmd window for each one of them with it's name and so on. I do not know how to implement in mi Python cod a sentece that opens such a cmd. I know how to open a cmd.exe bud not with specific attributes tha