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

Kevin Cazabon kcazabon at home.com
Mon Nov 15 11:03:02 EST 1999


Interesting... it doesn't work on Win98 for me (The exact statement
below...).

Anyone have suggestions for Win95/98?


Kiss, Arpad <AKiss at GEOMETRIA.hu> wrote in message
news:01BF2F61.1D2B8DB0 at exchange1.geometria.hu...
> 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