I have a Pre-backup Event batch file that returns an error if the Backup destination does not exist. When the destination does Not, in fact, exist, Cobian Reflector posts that the batch file had no error.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Batch Contents:
net use U: /delete
net use U: \\HARENET-HD\data /PERSISTENT:YES
dir U:
EXIT /B %ERRORLEVEL%
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::;;
If I launch this batch file with another batch, it returns a Non-Zero results when the destination does not exist.
It appears that Reflector is just looking for any return to validate that it ran!
Thanks Jim
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Batch Contents:
net use U: /delete
net use U: \\HARENET-HD\data /PERSISTENT:YES
dir U:
EXIT /B %ERRORLEVEL%
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::;;
If I launch this batch file with another batch, it returns a Non-Zero results when the destination does not exist.
It appears that Reflector is just looking for any return to validate that it ran!
Thanks Jim
Statistics: Posted by JtDodd — 27 Feb 2022, 18:27 — Replies 1 — Views 10