I want to create a directory programmaticall y in vb express 2010. I know how to create the directory and subdirectories but I don't know how to make the directory "locked". Typically users in our server, move by mistake the directory into another directory and then we have to spend long hours looking for the file. I would like that the directory becomes locked and nobody can move it. Any ideas?
Creating a directory that can't be moved
Collapse
X
-
Tags: None
-
Appropriate network permissions are definitely the way to go.
However, it occurs to me that another (kind of ugly) workaround might be to have an application (on the server, I guess) keep a file open in that directory at all times.
If the network OS is anything like plain ol' single-PC Windows, it shouldn't let anyone delete, rename or move the directory.Comment
Comment