Is there any method of detecting the DOS ErrorLevel returned by a program being run with SUF6? Searched the manual and could not find this. I suspect not if the shelled handle has closed but any ideas anyone? I am trying to replace a batch file which calls a third party program, detects an errorlevel and then decides what to do. The third party program itself appears to a DOS EXE.
Announcement
Collapse
No announcement yet.
ERRORLEVEL DETECTION
Collapse
X
-
Re: ERRORLEVEL DETECTION
No, I'm sorry, I don't have any ideas on this one. I suspect that the only thing you could do is have it write out that error information to a text file or INI file, but I understand that this is what you were probably trying to avoid.
-
-
Re: ERRORLEVEL DETECTION
I accomplish the same thing by calling a VBScript and then a WISE executable that are copied the user's TEMP directory. The VBS file creates an INI file, and then I use WISE to edit that INI file with ERRORLEVEL returns. AutoPlay then reads the new edited INI file and operates based on that value.
CJ M
Comment
-
Comment