re: exit command status
Friday, December 5, 2008 at 9:16 am Windows Server 2003 Annoyances Discussion Forum
Posted by jigneshjsoni
(39 messages posted)
When a program calls a subroutine, if that subroutine runs successfully then code
"0" is returned with the message, right ? If subrioutine does not run successfully,
then non-zero value is returned with the error message. Calling program desplays
the message but does not display the code, right ?
On Friday, December 5, 2008 at 8:27 am, appleoddity wrote:
>
>Its two different things. You're asking about a exit (status) code. The value
is
>returned to the calling program. It is not output to the screen. If you execute
>the command from a batch file then the batch file will receive the exit code so
that
>you can do with it as you please. Its for programmers.
>
- Written in response to:
- re: exit command status (appleoddity: Friday, December 5, 2008 at 8:27 am)
Responses to this message:
|
|
All messages in this thread [show all]
 |  |  | re: exit command status (jigneshjsoni: Fri, Dec 5, 2008, 9:16 am) |
| |
| |
Return to the Windows Server 2003 Discussion Forum
|
|