Archived from groups: microsoft.public.win2000.cmdprompt.admin,microsoft.public.win2000.advanced_server (
More info?)
As someone else said, don't post here unless you have googled first!
Microsoft says:
The Backup tool (Ntbackup.exe) may not return correct program exit codes.
The expected behavior is to return a zero (0) exit code when a program
starts and runs successfully, and a non-zero exit code when there is a
problem.
Currently, the Backup tool may return a zero (0) exit code even when there
is a problem. The Backup tool will return a non-zero error code only when it
encounters a catastrophic failure, such as an out of memory failure. A
missing device, missing media, or even a backup failure will still return a
zero (0) exit code.
See
http://support.microsoft.com/default.aspx?scid=kb;en-us;260327
Roland Giesler
Stellenbosch
South Africa
"Brian Burgess" <bburgess66@hotmail.com> wrote in message
news:uIEPJBs#EHA.2584@TK2MSFTNGP09.phx.gbl...
> Hi all,
>
> Anyone know the codes returned by NTBACKUP? .. Like if I were to execute
> NTBACKUP from a batch file and wanted to find the return value after
> NTBACKUP finished?
>
> TIA
>
> -BB
>
>