Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Batch file needs returned result of EXE
Message
De
21/03/2003 11:39:15
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00768593
Message ID:
00768639
Vues:
20
Sergei -

Thanks! Works like a charm.

- George

>See Exiting Visual FoxPro returning an error level FAQ #7767.
>
>>My clients need me to write them a .BAT file which will call a VFP7 .EXE, then use the value returned from the .EXE in some way.
>>
>>For instance:
>>If my main .PRG of the CUST.EXE is:
>>
>>SELECT * FROM cust WHERE dDate > DATE() INTO ARRAY la1
>>RETURN _TALLY > 0
>>
>>
>>How would I assess .T. or .F. in the batch file?
>>
>>Can I say:
>>
>>If CUST.EXE = True Then
>>.
>>.
>>.
>>End If
>>
>>In a batch file? I'm a little rusty on .BAT file syntax.
>>
>>- George
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform