Annoyances.org
Home » Windows Server 2003 Discussion Forum » Message 1228497387 Search | Help | Home
  
Tip: Run a free scan for common Windows errors ad

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:
*re: exit command status (appleoddity: Friday, December 5, 2008 at 9:21 am)

All messages in this thread [show all]
-exit command status (jigneshjsoni: Sun, Nov 23, 2008, 8:16 pm)
-re: exit command status (appleoddity: Fri, Dec 5, 2008, 8:27 am)
-re: exit command status (jigneshjsoni: Fri, Dec 5, 2008, 9:16 am)
*re: exit command status (appleoddity: Fri, Dec 5, 2008, 9:21 am)
Return to the Windows Server 2003 Discussion Forum


All content at Annoyances.org is Copyright © 1995-2009 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.