>I tried to use the GetEnv() function in a w2k system to get the program files folder and it worked fine.
>
>now when i try the same in a Win 98 system, it returns nothing.
>
>I tried to set an environment variable such as
>SET PGF=C:\PROGRAM FILES
>
>in DOS and tried the GetEnv function but still i get nothing returned.
>
>How do I get the program files folder using the GetEnv() function in windows 98 using VFP7?
>
>(I know that I can use API functions, but I think there should be a way in VFP!?!)
As far as I remember, under Win9x environment variables can be created only before loading the system, in autoexec.bat.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only