File.Delete should work.
So you should probably post the exception you are getting, and the line
of code it is occuring on.
Dave wrote:
> Hello all,
>
> I have an application that is accessing files from a mapped drive. I
> have full access to the share that is mapped and from explorer can
> delete files as I need. My application needs to be able to delete files
> once the are processed, but using File.Delete does not seem to be
> deleting them. What is the correct way of deleting files from a network
> drive in Windows.Form application?
>
>
> Regards,
> David
|