protect Folders & Files.

waraq

Member
Joined
Dec 18, 2006
Messages
23
Location
Harrison, TN
Programming Experience
Beginner
Hi John!

I have some problems with my folders and files. I need to protect them from being deleted by users.

I created some folders and files that are not important but I would like to keep them from being deleted.
This is the line of code to create a folder, but there is nothing to prevent it from being deleted.

If Directory.Exists("C:\D\A\C2") = False Then
Directory.CreateDirectory("C:\D\A\C2")
End If

I would appreciate your help once again.

Thank you

Willy
 
Back
Top