Skip navigation

JSI Tip 1802. How do I print the folder and file permissions for a directory?

In tip 0596, we scripted the ability to report permissions on a directory tree.

If you wish to simply print the permissions on the objects of a single folder, you can type:

CACLS <Path>\*.* > <Drive>\Folder\Report.txt

                        OR

XCACLS <Path>\*.* > <Drive>\Folder\Report.txt

Then print the <Drive>\Folder\Report.txt file.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish