Command line exit codes ?

Hello, I'm writing a small powershell script to run acrosync profiles

I need to test the success or failure of an rsync profile execution.

Does the AcrosyncClient64.exe returns exit codes for errors that I can get and use in the rest of the script ?

Thanks

Axel

Comments

  • Yes, the exit code is 0 if the sync is successful, and 1 otherwise.
Sign In or Register to comment.