win32api... another question: GetEnvironmentVariable("PATH")

Kiss, Arpad AKiss at GEOMETRIA.hu
Mon Nov 15 06:01:11 EST 1999


Hi,

Kevin Cazabon <kcazabon at home.com> wrote in message 
news:<fcMX3.65012$Rx2.773564 at news1.rdc1.bc.home.com>...
> I can't seem to get the win32api.GetEnvironmentVariable() function to 
work
> properly... am I not using it correctly by the following?
> 
> path = win32api.GetEnvironmentVariable("PATH")

It works for me on a Windows NT Workstation (sp5).

> 
> or
> 
> path = win32api.GetEnvironmentVariable("%%PATH%%")

It doesn't work....






More information about the Python-list mailing list