首页 > 解决方案 > How to change already created folder/directory security permission using Windows API C++

问题描述

I have to change directory permission of already created directory. If the directory does not exists,I am able to create new directory using CreateDirectoryEx with given security access attributes,however when the directory already exists ,I have to change security access attributes of directory For ex:Admin -Full access User=read access

First check if directory exists,if directory exists change the security attributes

标签: c++windowswinapidirectory

解决方案



推荐阅读