Code errors returned for NET USE (errorlevel)

  • Thread starter Thread starter Claudio
  • Start date Start date
C

Claudio

Hello to all,
Someone will be able to indicate me if it(he,she) knows some list of the
codes of mistake returned by NET I USED.
I need them to be employed with ErrorLevel at a process batch.

From already thank you very much.

Regards. Claudio
 
Claudio said:
Hello to all,
Someone will be able to indicate me if it(he,she) knows some list of the
codes of mistake returned by NET I USED.
I need them to be employed with ErrorLevel at a process batch.

From already thank you very much.

Regards. Claudio

It's 0 for successful operation and 1 or greater for anything else. If you
want to detect specific problems then you need to check the message that is
sent to StdErr.
 

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

Back
Top