Skip to main content

How to Get Folder Permission Access in CMD

• 1 min read
cmd command-prompt directory icacls permissions windows

You can use the following syntax in Command Prompt (CMD) to get folder permission access:

icacls folder_path

This example will display the permission access for the specified folder.

Note: The icacls command shows the access control list (ACL) for the specified file or folder.

The following example shows how to use this syntax in practice.

Example: Getting Folder Permission Access in CMD

Suppose that we want to get the permission access for the following directory:

C:\Users\admin\Documents\cmd_script

We can type the following command to get the folder permission access:

icacls C:\Users\admin\Documents\cmd_script

The following screenshot shows how to use this syntax in practice:

!Get folder permission access in cmd

We can see that the permission access for C:\Users\admin\Documents\cmd_script is displayed.

Conclusion

We can use the icacls command followed by the path to get the permission access for any folder on the system.

You can find more topics about Active Directory tools and PowerShell basics on the ActiveDirectoryTools home page.