On Vista and 7, I would like to create a directory that will probably be underneath c:\Program Files. I would like that directory, and sub-directories to be read/writable by anyone.
Thu,s I'm looking for a C++ program that effectively makes the Windows API calls used in cacls and xcacls.
I want a program that takes one or more arguments, a list of directories to be created read/writable. If the directories do not exist, they will be created. If they do exist, they will be made read/writable by all users. User Access Control (UAC) will most likely be on.
Note that I am particularly interested in Windows Vista 64.
Yes, I know there is a simple Windows API to do this.
And yes, I know that there will likely be a popup window asking me if the program should be allowed to run.