How does this "advice" even begin to address the OPs question; "Is there a function to ..."?
In reply to Re^2: windows folder permission by BrowserUk in thread windows folder permission by anu_1