Re: Deleting Subfolders and Files of a Folder

Your work-around is probably about as good as it gets using
the native filesystem interfaces.

<Fishless@xxxxxxxxx> wrote in message
This problem is a bit convoluted, but I'll try my best to explain it.

On a Windows 2000 server we have some main folders that we don't want
anyone to delete, but I want to allow them to have Modify permissions
on the subfolders and files of said folders. However, if you try to
delete one of the main folders it will give you an error only AFTER
deleting everything inside it, which pretty much defeats the purpose of
having delete denied on the main folders. The issue seems to be
resolved in Server 2003/XP, however we want to keep this server running
for a few years as we switch over to a new one.

I came up with a temporary solution to the problem, which is to have
deny delete on hidden folder "!" and file "!.!". However this is
time-consuming to set-up and fairly unreliable as it relies on Windows
starting to delete from the top of the list.

Does anyone know of a better solution?