To do what you're asking is actually very hard indeed. You'd have to create a Shell Extension, and there's numerous issues with creating one of these via .NET. Can I suggest a much simpler solution, which is just to deny the user access rights to the directory.
|