Hello to everyone!
i used the following code to delete a folder:
if the "test" folder contents, contains normal attributes then no problem in deletion.Code:System.IO.Directory.Delete("c:\test", True)
But if it contains Readonly attributes then it shows access dined error in deletion.
How can i delete a folder forcefully. In vb6 i used fso to delete a folder forcefully, how can i achieve in vb.net???
Thanks in advance!![]()





Reply With Quote