Bookshelf Home | Contents | Index | Search | PDF |
Siebel VB Language Reference > Siebel VB Language Reference >
SetAttr Statement
This standard VB statement sets the file attributes for a specified file.
Syntax
SetAttr pathname, attributes
Argument Description pathname A string or string expression evaluating to the name of the file to modify attributes An integer expression containing the new attributes for the file
Returns
Not applicable
Usage
Wildcards are not allowed in pathname. If the file is open, you can modify its attributes, but only if it is opened for Read access. Here is a description of attributes that can be modified:
Value Meaning 0 Normal file 1 Read-only file 2 Hidden file 4 System file 32 Archive—file has changed since last backupExample
For an example, read Select Case Statement.
See Also
Bookshelf Home | Contents | Index | Search | PDF |
Siebel VB Language Reference Published: 18 June 2003 |