View Single Post
  #1  
Old 04-06-2005, 06:17
tAz
 
Posts: n/a
Deleting a file in use without rebooting

Anybody knows how to programatically delete a file currently in use without resorting to deleting it on the next reboot?

One idea is to enumerate all open handles of all processes and force them to close the handle to your target file, then deleting it afterwards. Unfortunately, it's too messy.

I'm looking for some undocumented or easier way to do this. Anyone?
Reply With Quote