https://rakhesh.com/windows/use-setacl-if-you-want-to-overcome-the-260-character-limit-when-setting-acls-2/
Use SetACL if you want to overcome the 260 character limit when setting ACLs