Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfsetfileatr()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfSetFileAtr()
Set the file attrib
------------------------------------------------------------------------------
Syntax:

     dfSetFileAtr( <cFile>, <cAtr> ) --> NIL

Parameters:

     <cFile>    File to modify
     <cAtr>     New attrib
     +-------------------+
     |Character|Attribute|
     |---------+---------|
     |    A    |Archive  |
     |    H    |Hidden   |
     |    S    |System   |
     |    R    |Read Only|
     +-------------------+

Returns:

     NIL

Description:

     Set the file attrib

Example:

     // Set the Read Only flag on the autoexec
     dfSetFileAtr( "c:\autoexec.bat", "R" )

See also:

     dfGetFileAtr()

See Also: dfGetFileAtr()

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