Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set Env Var Globally on a Win 98 machine using Win2000 servr
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Set Env Var Globally on a Win 98 machine using Win2000 servr
Divers
Thread ID:
00429406
Message ID:
00429406
Vues:
49
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.
Répondre
Fil
Voir

Click here to load this message in the networking platform