PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → runexe
runexe
Débuté par charles candy, 12 oct. 2004 22:10 - 2 réponses
Posté le 12 octobre 2004 - 22:10
I execute a dos program from windev using runexe, how do I get the errorlevel return from the dos program?
Posté le 13 octobre 2004 - 11:40
>I execute a dos program from windev using runexe, how do I get the errorlevel return from the dos program?
The easiest way is to execute a batch-file instead of the exe. The batch file could analyse the resulting errorlevel and write a small file containing the information. More insight here
Posté le 13 octobre 2004 - 12:51
Hi Charles,
use
exeReturnValue, but note that this does only work if your DOS program sets a DOS conform error level.
Best regards
Raimund

>I execute a dos program from windev using runexe, how do I get the errorlevel return from the dos program?


http://www.invitec.com