Archive: check directory access


check directory access
Hi,
please can you help me,

How can I know the acces rights I have for a directory,

For exemple, if I can write i read or delete.

Thx.


http://nsis.sourceforge.net/AccessControl_plug-in
Maybe this could help you


No, the accesscontrol plugin can only be used to SET permissions, not get them.

http://forums.winamp.com/showthread.php?t=339334


re
thx for the lik, but i want to know the permission of directory not the file please.


I wouldn't be susprised if jpderuiter's method also works for directories. But there's maybe an easier way if all you need to know if you're able to read/delete files in the directory: Simply try creating a file there and deleting it. (Make sure you add a check for whether the file already exists, you wouldn't want to overwrite stuff by accident.)