Previous PageNext Page

8.1.6 File Attribute Constants

These constants are only available when your project has an explicit reference to the appropriate type library containing these constant definitions. For VBScript, you must explicitly declare these constants in your code.
 

Note

The applicability of these constants depend on the underlying operating system. If the OS file system does not support the file attribute requested, an error will be returned.

Constant Value Description
Normal
 
0
 
Normal file. No attributes are set.
 
ReadOnly
 
1
 
Read-only file.
 
Hidden
 
2
 
Hidden file.
 
System
 
4
 
System file.
 
Volume
 
8
 
Disk drive volume label.
 
Directory
 
16
 
Folder or directory.
 
Archive
 
32
 
File has changed since last backup.
 
Alias
 
64
 
Link or shortcut.
 
Compressed
 
128
 
Compressed file.
 


Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page