How to determine meaning of errorlevel

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
 
D

David Trimboli

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.
 
D

Dave Patrick

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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top