You are not logged in.
Due to a large amount of fake accounts registrations for advertising purpose (spam), this forum does not accept new registrations any longer.
You can still browse existing threads to find the help you are looking for. If you do not find it and have questions, please use this contact form.
====================================
En raison d'un nombre important d'enregistrements de faux comptes utilisateurs à des fins de spam (publicité non sollicitée), il n'est désormais plus possible de s'enregistrer sur les forums de support technique.
Vous pouvez toujours parcourir les sujets existants pour trouver ce que vous recherchez. Si vous ne trouvez pas l'information et avez des questions, veuillez utiliser ce formulaire de contact.
I would like to get the exit codes so that I could flag any failures programmatically as I run the script.
So something like:
/batchFile.cmd
AutobackupPro7.exe [commandline stuff]
If %ERRORLEVEL%==2 Echo Bad Thing 2 happened | GOTO END
If %ERRORLEVEL%==1 Echo Bad Thing 1 happened | GOTO END
If %ERRORLEVEL%==0 Echo Good Thing happened | GOTO END
:END
Offline
I would like to get the exit codes so that I could flag any failures programmatically as I run the script.
So something like:
/batchFile.cmd
AutobackupPro7.exe [commandline stuff]
If %ERRORLEVEL%==2 Echo Bad Thing 2 happened | GOTO END
If %ERRORLEVEL%==1 Echo Bad Thing 1 happened | GOTO END
If %ERRORLEVEL%==0 Echo Good Thing happened | GOTO END:END
I'll look into it an try to add it in a next version
Fab
Offline
I've added the following piece of code in program close instructions :
If WarningCount=0 and ErrorCount=0 then ExitCode:=0;
If WarningCount>0 then ExitCode:=1;
If ErrorCount>0 then ExitCode:=2;
That should do the trick in next version.
Fab
Offline
Excellent!!! Merci!!!
Offline
[ Generated in 0.045 seconds, 7 queries executed - Memory usage: 527.39 KiB (Peak: 560.05 KiB) ]