answersLogoWhite

0

Microsoft® Windows® 2000 Scripting Guide

File systems typically support the concept of attributes, information about a file or folder that goes beyond the folder name and size. For example, if you right-click a folder in Windows Explorer and then click Properties, you can access the attributes for that folder. Figure 4.2 shows a folder with the following attributes set:

  • Read-only

  • Hidden

  • Ready for archiving

  • Compressed

Figure 4.2 Folder Attributes in Windows Explorer

The FileSystemObject can be used to return several important attributes of a folder. These attributes, and their FileSystemObject values, are listed in Table 4.4.

Table 4.4 Folder Attributes Used by the FileSystemObject

Constant

Value

Description

Hidden

2

Indicates that the folder is hidden, and not visible by default in My Computer or Windows Explorer.

System

4

Indicates that the folder is a System folder. In general, it is a good idea not to modify the properties of a system folder.

Directory

16

Standard value applied to all folders. All folders accessed by the FileSystemObject will have, at a minimum, the bit value 16.

Archive

32

Archive bit used by backup programs to determine the files and folders that need to be backed up. Enabling the archive bit will ensure that the folder is backed up during the next incremental backup. Disabling the archive bit will prevent the folder from being backed up during the next incremental backup.

Compressed

2048

Indicates whether Windows compression has been used on the folder.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What OS is an upgrade to windows 2000?

Windows XP Professional is an upgrade to Windows 2000 Professional. Windows Server 2003 is an upgrade to Windows 2000 Server.


What Microsoft OS is an upgrade of Windows 2000?

Windows XP Professional is the successor to Windows 2000 Professional. Windows Server 2003 is the successor to Windows 2000 Server.


What operating system comes after windows 2000?

Windows XP Home was the replacement for Windows ME, Windows XP Professional was the replacement for Windows 2000 Professional, and Windows Server 2003 was the replacement for Windows 2000 Server.


What are the four versions of Windows 2000?

windows 2000 Professional windows 2000 sever windows 2000 standard edition windows 2000 home edition


Can Windows 2000 Professional be upgraded to Windows XP Professional?

Yes.


What is the percent SystemRoot folder as used in Microsoft documentation?

Press WinKey+R then type %systemroot% to find out! It will likely be C:\Windows\ but if you're using multiple versions of Windows on the same computer, the others could be on different drive letters e.g. N:\Windows\


Which Windows 2000 verison was meant to replace both windows 9x and windows NT?

windows 2000 professional..


What are the the four OSs in the windows 2000 suite?

the four operating system found in the windows 2000 suite are : windows 2000 professional windows 2000 server windows 2000 advanced server windows 2000 datacenter server


Can you install Windows 2000 Professional on Windows 98?

Yes.


Can you upgrade Windows 3.1 directly to Windows 2000 Professional?

No.


What does percent System Root percent mean?

A folder in which windows 2000/xp is installed.


Which of the following Oss can be upgraded to windows XP professional?

Windows home edition Windows 98 windows NT 4.0 workstation windows 2000 professional