How to determine meaning of errorlevel

  • Thread starter Thread starter Chris H.
  • Start date Start date
C

Chris H.

Hello everyone,

I am working on rewriting several bat scripts that are running on our
Windows 2000 server. One of the improvements I'm trying to do is to
include better error reports and logging. However, I am running into
difficulty. Where do I find the meaning of the various errorlevel's
that are returned by system programs?

Specifically, what do the errorlevel numbers mean for net start and
net stop commands?

Is there a general guide to what the errorlevel numbers mean for most
programs (or at least the os level programs)?

Thanks,

Chris
 
Chris H. said:
Where do I find the meaning of the various errorlevel's that are
returned by system programs?

Each program's errorlevels are defined by the programmer, based on what
the program does. There is no list of universal errorlevel meanings.
Specifically, what do the errorlevel numbers mean for net start and
net stop commands?

A quick search of the Web by me didn't turn up anything useful. A more
thorough search is bound to find something.
 
From a command prompt;

net helpmsg message#

should return a description.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
Specifically, what do the errorlevel numbers mean for net start and
net stop commands?
<snip>
 
Back
Top