Resolved delete directory

Rainny

Member
Joined
Jun 9, 2008
Messages
16
Programming Experience
Beginner
Could anybody teach me how to delete the directory?
I try to use System.IO.directory.delete(path) method, but when I execute the program, then there hava an error say access to the file is denied.
So,please teach me, and thanks lot.
 
Last edited:
You're trying to delete a folder and the error message is telling you that it can't delete the file?

Deleting a folder when it's passed a file path would cause an error.
 
Back
Top