GETENV("myvar") will return the value of a DOS environment variable myvar. It is possible that the batch file that loads the Novell stuff at startup or the login script to set the value of this variable on some stations and not on others. The Dos SET command will display all the env vars and their values.
HTH
Sorin
>We are in the process of converting from FPW2.6 to VFP3 on a Novell Network.
>
>In FPW26, we always used Getenv('FullName') to retrieve the user "Full Name" from the network.
>This always worked fine. However, in VFP3 the same Getenv('FullName') function will work on
>a few machines but in most cases the function returns a blank. The workstation PCs are
>running either Win95 or Win31. The Getenv() fails on both types of workstaions.
>
>Has anybody else noticed this behaviour? How did you work around it?
>
>We bought a copy of Gplib and this got us around the problem by using a gplib function to
>return the user's full name.
>
>Jerryt
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