Hi,
I dont think this is possible. at least with managed code.
Of course if you find a method to force win to release the handle of that
file then the file will be considered "closed" and you can open it. Not sure
how to do this (even if possible) though.
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"ssg31415926" <ne**********@gmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
I've just had a colleague ask me this one: is it possible to close
files opened (and left open) by another app, programatically? I know
it must be possible because NET FILE can do it as can Computer
Management.
I can't find an obvious place to start in .NET - is there one? I came
to .NET via scripting and haven't ever done Win32 stuff. Can anyone
point me towards a place to start?
Cheers
SSG