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:

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, 1996-2019 • Updated: 03/25/18
Comment or report problem with topic