Version 3 of file readable

Updated 2005-12-15 17:50:59

file readable name

Returns 1 if file name is readable by the current user, 0 otherwise.

On NTFS volumes, this doesn't currently take account of the more complex Windows user/group stuff, so can return the wrong value. Code contributions using 'GetSecurityInfo()' much appreciated.


See also:


Tcl syntax help - Category Command - Category Introspection - Category File