Knud,

Assuming that you have all of the hotfixes, service packs, etc. from Microsoft in place...

How about defining an environment size?

You have -

code:
RUN "%comspec% /c start /wait \\COR001AV\ofcscan\AUTOPCC.EXE"

Change it to -

code:
RUN "%comspec% /c /e:1024 start /wait \\COR001AV\ofcscan\AUTOPCC.EXE"

You may need to bump it to -

code:
RUN "%comspec% /c /e:2048 start /wait \\COR001AV\ofcscan\AUTOPCC.EXE"

HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's