Syntax
| GetAttr(Name$)
| ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description
| Return the attributes for file Name$. If the file does not exist then a run-time error occurs.
A file attribute is zero or more of the following values added together.
| ||||||||||||||||||||||||||||
See Also
| |||||||||||||||||||||||||||||
Example
| Sub Main
F$ = Dir$("*.*")
While F$ <> ""
Debug.Print F$;" ";GetAttr(F$)
F$ = Dir$()
Wend
End Sub
|