I can't get this script to work but i don't think its going to help anyway.
I have managed to get the other script to work from here Richard Willis – SharePoint Learning Kit Coordinator, SalamanderSoft Owner » How To Stop Home Folders Being Renamed Documents in the Network Share
However the problem is that all our users have full control over their profile path.
so currently the desktop.ini has full control to the user and deny for security group "year 7" so i still see it as "my documents"
what would be good is if that script read the folder name (because its named after the username) and set deny read for that user.