🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
1 messages
1 total messages Started by Sandy Rockowitz Wed, 10 Apr 1991 23:16
Re: '.cmd' return codes
#2528
Author: Sandy Rockowitz
Date: Wed, 10 Apr 1991 23:16
17 lines
1091 bytes
In article <18503@ncratl.AtlantaGA.NCR.COM>,
tmeiners@ncratl.AtlantaGA.NCR.COM (Tedd Meinersmann) writes:
>I would like to get a return code from a executable file (.cmd or .exe)
>when I execute the file from within my 'C' code.
> [text deleted]
>
>For OS/2 (MicroSoft C 6.0) 'cmd.exe' does not return an exit status of
>the '.cmd' or '.exe' file that it executed.  There is no 'exit' equivalent
>of '.cmd' programming to force a return code.
>
Tedd,

If you are using IBM OS/2, you can use .CMD files written in Rexx.
Rexx allows you to set the return code.

Sandy Rockowitz
gd.sar@forsythe.stanford.edu
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads