I have a .bat program which copies files from one hard drive to another, it reads:
echo Starting backup process...
xCopy /E/Y C:\BDotAttachments\*.* E:\BDotDesktopBkp\BDotAtta
if %errorlevel% gtr 0 (
echo ERROR [%errorlevel%]: Backup process completed but with error(s).
) else (
echo Backup process completed successfully.
But when I run it I get the error attached. Please advice.