CALL _FILEATTR WITH <C filespec>, <C attributes>
Turns file attributes on or off.

<attributes> is a character string of attributes and operations
in the format "+RHS -A".

The first character must be + or -

+ indicates to turn following attribute(s) on
- indicates to turn following attribute(s) off

A = archive
H = hidden
R = read-only
S = system

See your operating system documentation for more information
about file attributes.

* Turn on read-only and hidden attributes, and turn off archive attribute
CALL _FILEATTR WITH "Testfile.txt", "+RH -A"

* Turn on archive attribute
CALL _FILEATTR WITH "Testfile.txt", "+A"


Placed in the Public Domain by Tom Rettig Assoc.