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,
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