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

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


Kevin Cazabon <kcazabon at> wrote in message 
news:<fcMX3.65012$Rx2.773564 at>...
> I can't seem to get the win32api.GetEnvironmentVariable() function to 
> 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