Looking for chmod equivalent for Windows
A little back story, I've managed to cobble together an After Effects psuedo plugin installer for one of my upcoming scripts. One hiccup was dealing with file permissions, to properly install the plugin. After many searches, trial & errors, and finally help from Lloyd Alvarez I managed to get a proper working piece of code for updating file permissions on Mac. there's a lot more to the code, but this is the primary permissions update snippit.
system.callSystem("chmod u+rw \"MyFilePath\"");
Now I am in the process of finding a Windows equivalent to this. I found info on CACLS ( http://technet.microsoft.com/en-us/library/bb490872.aspx ), but have been seeing tons of "it doesn't work...", "not compatible with newer os..." and such around the interwebs. Not sure if anyone here can expand upon those claims. I ideally would like to use something that is as universal as possible with Windows 7, XP, Vista. Worse case scenario, I would just provide instructions so the user can manually change the permissions, but I am trying to simplify the process by keeping the user from having to dig into files on their system. Would love to hear any thoughts.
Thanks.
