I would like to code a function that tells me if it’s possible to WRITE a file/folder to a specific path or not. I would like to do that WITHOUT actually writing any file(s) to the disk. Is there a WINAPI function for that?
Thank you for your help.
I would like to code a function that tells me if it’s possible to
Share
You can use GetFileSecurity() and AccessCheck() functions. Read the Aaron Ballman’s article on How to Check Access Rights. He provided the
CanAccessFolder()function to do what you asked.