By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,889 Members | 1,358 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,889 IT Pros & Developers. It's quick & easy.

Delete a file from a mapped drive using a Windows.Form application

P: n/a
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

Jul 20 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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
Jul 20 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.