Lonkero,
I tried to run it with
RUN "%comspec% /c start /wait \\COR001AV\ofcscan\AUTOPCC.EXE"
as you suggested.
And I thought it worked, because I didn't get the error.
But when I tried again the error came back.
I then tried (logoff and logon) some more times and it seems to be the pattern that the error only comes every second time the logon script is run.
Does that give you an idea ?

Best regards,
Knud