PC Review


Reply
Thread Tools Rate Thread

How to determine meaning of errorlevel

 
 
Chris H.
Guest
Posts: n/a
 
      26th Apr 2007
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

 
Reply With Quote
 
 
 
 
David Trimboli
Guest
Posts: n/a
 
      26th Apr 2007
"Chris H." <(E-Mail Removed)> wrote:
> 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.

--
David
Stardate 7317.3


 
Reply With Quote
 
Dave Patrick
Guest
Posts: n/a
 
      28th Apr 2007
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

"Chris H." wrote:
<snip>
> Specifically, what do the errorlevel numbers mean for net start and
> net stop commands?

<snip>
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
errorlevel not set in for loop - delayed expansion !errorlevel! used ghquick Microsoft Windows 2000 CMD Promt 3 7th Jul 2006 05:25 PM
errorlevel Luke Vogel Microsoft VB .NET 5 18th Dec 2005 01:42 AM
Email - Outbox - automatically switching from italic meaning will be sent to normal font meaning it will not be ITMA Microsoft Outlook 7 23rd Jul 2005 06:40 PM
%Errorlevel% in for Wensi Peng Microsoft Windows 2000 CMD Promt 2 3rd Mar 2005 09:51 PM
ERRORLEVEL in FOR? GrayB Microsoft Windows 2000 CMD Promt 6 27th Dec 2003 04:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:54 PM.