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