Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using GETENV on the MS-DOS errorlevel variable
Message
De
22/10/1997 20:36:20
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00054755
Message ID:
00056214
Vues:
36
>>Does anybody know how to return the 'errorlevel' variable from MS-DOS either using the getenv or another method. I believe that VFP5.0 reads all the MS-DOS variables on entry. But does it use those read results or the variable at the time of checking?
>
>You might SET a variable in the batch file (if ERRORLEVEL=.. SET ... = ..) and read that Variable using getenv.
>
>HTH,
>
>Marc

Marc

Sorry I have taken so long in reading this message. Thanks for the tip. I will try it this afternoon and get back to you.

Cheers
Campbell
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform