File: GetAttributes |
Returns the file attributes (ReadOnly, Hidden, ...)
Public Function GetAttributes( ByRef Path As String ) As FileAttributes
To determine if a specific attribute is being used, the return value will
need to be ANDed with the specific FileAttributes flag.
If Attr And FileAttributes.ReadOnly Then '... file is readonly End If