How do you check folder permissions
for example
i want to see if the user group "everyone" has change rights on the C:\Windows\TEMP directory.

I know how to add the rights i just dont' know how to check them if incase they already exist..
if someone could please show me an example that would be good.