in reply to win32-files in use by other processes ?
On at least Linux and Solaris platforms, use fuser. See Linux::Fuser -- bm