What about a function to change File Directory and Registry acls.
I know it can be done with external utilities at least with the file and directory.
But it would be handy to be able to do it in a script without shelling out.