Re: [python-win32] want to leave DOS console at any target dir

2007-11-22 Thread Paul Moore
On 22/11/2007, Charlie <[EMAIL PROTECTED]> wrote: > That launches a new DOS console at the desired directory location. > > Pretty close to what I was hoping for. You can't really get much closer. A child process (which is what your Python program is) cannot alter the environment (env variables,

Re: [python-win32] want to leave DOS console at any target dir

2007-11-22 Thread Charlie
Michel Claveau mclaveau.com> writes: > > Hi! > > Try this: > import os > os.system('start "TITLE" "cmd /KCD /DD:\\Dev\\python"') #for dir: > D:\\Dev\\python > > ("TITLE" is the title (yes!) of the window) > > @-salutations > > Michel Claveau > Thanks, That launches a new DO