There are errors in the backup log but no error code is set

2026/04/06 10:18:54 ERROR : Encrypted drive 'crypt-nas:': not deleting files as there were IO errors
2026/04/06 10:18:54 ERROR : Encrypted drive 'crypt-nas:': not deleting directories as there were IO errors
2026/04/06 10:18:54 ERROR : Attempt 3/3 failed with 1 errors and: failed to open: open Nas\name\3-Resources\........: response error: The object name is invalid.

After I completed the execution, I found the above error in the Rclone backup log.

The output of %ERRORLEVEL% in the backup script shows a value of 0

ECHO ERRORLEVEL: %ERRORLEVEL%
PAUSE

Why does this error still show that 0 should not be a value greater than 0?

hi,
when you posted there was a template of questions, please answer ALL of them

I found the reason: I thought it was an issue with the exit code, but it was actually because Windows 11 did not support mshta vbscript:msgbox(). It could be solved by using the PowerShell pop-up window instead.