Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Tom Rettigs Library - call _fileattr with <c filespec>, <c attributes> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 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.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson