Get directory read/write status??
-
Hi All, I'm on Windows 2000 and am trying to get the status of a directory which has the permission to write files turned off. When you click on the properties of a directory and click on the "security" tab you can set certain permissions of that directory, such as ability to write files turned off. My question is how can I get these permissions in Visual C++? What API call do I have to do? Thanks, Philip
-
Hi All, I'm on Windows 2000 and am trying to get the status of a directory which has the permission to write files turned off. When you click on the properties of a directory and click on the "security" tab you can set certain permissions of that directory, such as ability to write files turned off. My question is how can I get these permissions in Visual C++? What API call do I have to do? Thanks, Philip
Use _taccess with mode = 2