Replace existing files in use?

(imported topic written by DotA)

I’m looking to replace existing files that may be in use on XP, I’d prefer to use something like MoveFileEx with the flag MoveFile_Delay_Until_Reboot so that the file in use won’t be replaced until a reboot occurs. Is this possible? Looking for syntax suggestions, any help is appreciated.

Thanks

(imported comment written by brolly3391)

You might be able to leverage this MS tool called inuse.exe from the Win2k Resource kit.

http://support.microsoft.com/?kbid=228930

Cheers,

Brolly