[PATCH 11/41] robocopy: add exit codes and input checks