Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to change windows path programmatically
Message
De
19/12/2004 08:15:58
 
 
À
15/12/2004 10:36:25
Jon Neale
Bond International Software
Wootton Bassett, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00969441
Message ID:
00970377
Vues:
17
Thnaks for the response. What I mean is, how you change the PATH environment variable programmatically?

1) If the OS is Win98, modify the autoexec, adding a line: PATH=%PATH + DesiredPath
2) If the machine is WinXP (and 2000, I believe) ??

Does someone already have a routine that covers all OSs ?

Thanks.

Alex

>when you say change it do you just mean make it dynamic for the machine its running on?
>
>if so try
>GETENV('windir')
>
>HTH
>
>Jon
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform