Visual Basic Scripting Edition | Language Reference |
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.
Constant | Value | Description |
---|---|---|
Normal | 0 | Normal file. No attributes are set. |
ReadOnly | 1 | Read-only file. |
Hidden | 2 | Hidden file. |
System | 4 | System file. |
Directory | 16 | Folder or directory. |
Archive | 32 | File has changed since last backup. |
Alias | 1024 | Link or shortcut. |
Compressed | 2048 | Compressed file. |
Comparison Constants | DriveType Constants | File Input/Output Constants | SpecialFolder Constants | Tristate Constants