wwUtils::FileAttributes

Returns the file attributes of a given file. The list of attributes is returned as a single string that contains all the attributes that apply.

For example to check for Read Only flag you might do:

foxpro
foxpro
IF AT("R",FileAttributes(lcOutputFile)) > 0 RETURN .T. ENDIF
o.FileAttributes(lcFilename)

Parameters

lcFilename
Filename to return attributes for

See also

Class wwUtils

© West Wind Technologies, 2025 • Updated: 2025-03-12
Comment or report problem with topic