Quantcast
Channel: CobianSoft
Viewing all articles
Browse latest Browse all 1962

Cobian Reflector • Batch File Error In "Pre-backup Events" Not Recognized

$
0
0
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

Statistics: Posted by JtDodd — 27 Feb 2022, 18:27 — Replies 1 — Views 10



Viewing all articles
Browse latest Browse all 1962

Trending Articles