Hi and thanks for your replies.

I checked this morning and it only seems to be a problem when running the script using a scheduled task in Windows 2000. The user-perm. should be sufficient as the file perm. is set to "everyone full control".

It seems that it copies the file, but never deletes it - even if I use "SLEEP 5" efter the DEL command and a "RETURN" at the end of the script. If I use Windows Task Manager to see what processes that are currently running, the KiXtart process is running and "I/O Reads" and "I/O Writes" just keeps counting up...

Hmmm wait a minute....! I'm looking at it as we speak and the task has just finished and the KiXtart process is gone. It took the script much longer to complete than when running it manually though...strange....

Oh well, thanks for the input!

Best regards,
Nicolaj