Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

VBScript File Attribute Constants

VBScript File Attribute 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 depends 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 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.