Need to know if a directory has write permission or not in C++

前端 未结 2 1369
没有蜡笔的小新
没有蜡笔的小新 2020-12-22 13:31

I need to know if a specified directory (local or shared path with login credentials) has write permissions or not.

I am using GetFileAttributes but it always return

2条回答
  •  别那么骄傲
    2020-12-22 14:17

    I think you are looking for AccessCheck. FYI, this is not a C++ question, but a Windows API question.

提交回复
热议问题