In my DOS program, I am shelling to an EXE that calls a DLL.
The EXE returns a 0 or 1.
Currently, I am doing this (with line numbers):
, but it does not work.
What is the proper way to check the return value in the DOS
program?
Thanks in advance.
------------------
The EXE returns a 0 or 1.
Currently, I am doing this (with line numbers):
Code:
10 SHELL "<program> <params>" 12 IF ERRORLEVEL = 0 THEN GOTO 29000
What is the proper way to check the return value in the DOS
program?
Thanks in advance.
------------------
Comment