Home

News

International

Screen Shots

Documentation

Download

Build

License

Credits

Contact

SourceForge Project

Tintware Documentation : Tint Programming Language : Tint Reference : Win32 Primitives : os.file-attributes

Syntax

#(os.file-attributes,%filename)
#(os.file-attributes,%filename,%attributes)

%filename is the name of a file whos attributes will be set or retrieved. If %attributes are specified, the attributes of the file or directory will be retrieved. Otherwise, they will be set. %attributes is a list of a for archive, h for hidden, r for read only, and s for system. They can be specified in any order and any number of them.

Example

#(os.file-attributes,c:\Program Files\Tintware\info\dir)
-a---
#(os.file-attributes,c:\Program Files\Tintware\info\dir,has)

#(os.file-attributes,c:\Program Files\Tintware\info\dir)
-ah-s
#(os.file-attributes,c:\Program Files\Tintware\info\dir,a)