Navigation: thinBasic Modules > File > FILE_SetAttr |
|
Description
Set the file attribute(s) giving a file name.
Syntax
n = File_GetAttr(sFile, nAttribute)
Returns
Returns a number.
Parameters
Name |
Type |
Optional |
Meaning |
sFile |
String |
No |
Full path to a file or directory name |
nAttribute |
Number |
No |
The attributes numeric flag. Possible values to use for nAttribute: %FILE_NORMAL %FILE_READONLY %FILE_HIDDEN %FILE_SYSTEM %FILE_ARCHIVE
Use OR operator to set multiple values like: %FILE_SYSTEM OR %FILE_HIDDEN |
Remarks
Restrictions
See also
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |