|
-
Mar 30th, 2000, 02:58 AM
#1
Thread Starter
Lively Member
Is there any way to have a standard exec return a value? I made a program that detects whether there is a network connection present or not and it is going to be called from within a Rexx or Dos command file.
pseudocode:
If NetCheck.exe returns 1 then do (set of commands)
else If NetCheck.exe returns 0 then do (another set of commands)
...so I would like to have NetCheck.exe simply return a value.
-
Mar 30th, 2000, 07:21 PM
#2
Addicted Member
How about sending a value to a file that can then be opened and read by the DOS program?
-
Mar 30th, 2000, 09:23 PM
#3
Thread Starter
Lively Member
I thought of that already.... was looking for a better way.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|