WindowsPermissions
Description
Use a WindowsPermissions
object to view and edit the
permissions of a file, folder, or symbolic link located on a Windows® system.
Creation
Create a WindowsPermissions
object using the filePermissions
function.
You can then view and edit individual permissions of the specified file, folder, or
symbolic link by using the getPermissions
and setPermissions
functions, respectively.
Properties
Object Functions
getPermissions | Get individual permissions |
setPermissions | Set individual permissions |
Examples
Tips
On Windows systems, you can view permissions information in a Properties window by right-clicking a file, folder, or symbolic link and selecting Properties. The Properties window shows permissions under the Security tab, not in the Attributes section of the General tab.
Version History
Introduced in R2025a