On Thu, Oct 2, 2008 at 11:18 AM, bill <[EMAIL PROTECTED]> wrote: > Hi all, > > Can Python set a DOS environment variable? > > TIA, > > Bill
I'd look at http://www.python.org/doc/2.5.2/lib/os-procinfo.html . It looks like putenv should do what you want. It might only affect the current process and things started from it using Popen, though. -dan -- http://mail.python.org/mailman/listinfo/python-list