Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Env Var Globally on a Win 98 machine using Win2000 servr
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Set Env Var Globally on a Win 98 machine using Win2000 servr
Miscellaneous
Thread ID:
00429406
Message ID:
00429406
Views:
50
1) Is there a way to read the registry using Foxpro 2.6?

2) Is there way to set environment variables globally in Visual Foxpro 6.0?

Issuing a !set = ????? because foxpro creates a one time only environment variable which is good for the DOS session it creates.

Why?
Either answer will because we have ton of really old programs that user the environment variable user which are set by a novell login script. We were testing change to a Windows 2000 server and we found out the windows 2000 does not give you the same capability. We tried using a 3rd party thing that comes on the CD but it did not work. Novell set the environment variable somehow globally. It is the same as if you created an environment variable in the Autoexec.bat But we don't want to hard code the environment variable. We want it to be dynamic. We know there the username is in the registry so if there was a way we could get the 2.6 foxpro programs to read the registry that would also solve the problem. Any insights will be helpful.
Reply
Map
View

Click here to load this message in the networking platform