[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
XPfattr()
Get and/or Set file's Attributes
------------------------------------------------------------------------------
Function: XPfattr()
Using XPfattr(), one can change the Attributes of a
file. XPfAttr() also returns the Attribute byte, XPfindAttr()
and Directory() also do that, XPfattr() returns the
attribute number, however.
Syntax: XPfattr(<cFileName>[,<nAttr>])
Arguments: <cFileName> is the name of the file we want to set the
attributes for, <nAttr> is the attribute(s) we want
to set, when omitted, the attributes are simple returned.
Returns: The Current attributes of the file.
Usage: * - Make the own executable ReadOnly..
XPfattr(MyName(),1)
See Also:
XPferror()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson