wwUtils::FileAttributes

Retuns 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

See also:

Class wwUtils

© West Wind Technologies, 2004-2017 • Updated: 12/29/08
Comment or report problem with topic