Hey everybody. I'm not a programmer myself, but I'm working with a
group of programmers and we've run into a problem. We have a
situation where we need to delete files on a network drive. All
files on this drive are flagged as read-only, but there is one piece
of software that still creates a link to the file that prevents us
from deleting it. We've tried using windows commands, dos shell
commands with every possible combination of switches with no success.
The only thing we can do is overwrite the files using a dos shell
with an xcopy and a read-only flag switch.
I was wondering if anyone else has ever encountered this type of
problem and if there's a way to sever the link of a program to that
file. The software that's keeping the link is not providing us with
an API call to kill the link so far, and I'm looking for anything
that may be in Visual C# .NET that can be used, or a Windows SDK
function or anything. We're trying to get away from the DOS shell as
much as possible for error tracking purposes.
Thanks!
Paul
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com