Thursday, August 10, 2023

Using icacls for long paths










Here's a tip using icalcs for long paths (>260), use "\\?\" to prefix your mapped drive.

icalcs "\\?\N:\Books\_ePubs\Tao Te Ching _ Annotated & Explained.pdf" /T

Official Documentation here
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/icacls

No comments:

Post a Comment