Do any of you know how you can find out what NT/win2k security permissions are set on a file for the logged in user.
At the moment I am testing if a file is 'read-only' before opening it but if the NT/win2k 'read' permission or 'write' permission has been removed I get an error.
Does it involve some delving into a windows dll to find out the permissions or is there some code/component out there to do it.
Any help much appreciated.
ECYNAXT
At the moment I am testing if a file is 'read-only' before opening it but if the NT/win2k 'read' permission or 'write' permission has been removed I get an error.
Does it involve some delving into a windows dll to find out the permissions or is there some code/component out there to do it.
Any help much appreciated.
ECYNAXT