Hi,
Download filemon from www.sysinternals.com to figure out what program or
process is controlling the file. A batch file in the startup folder runs
very late in the startup routine, you may need to change your strategy to
affect the file before it comes into use.

Signature
Best of Luck,
Rick Rogers, aka "Nutcase" - Microsoft MVP
http://mvp.support.microsoft.com/
Associate Expert - WindowsXP Expert Zone
www.microsoft.com/windowsxp/expertzone
Windows help - www.rickrogers.org
>I run a specific batch file at startup that attempts to copy a file to
>replace one that is under control of a running program. I get the message
[quoted text clipped - 7 lines]
>
> -----------------------------------------------------------------