Previous Page
Next Page

Appendix E. Special Folder Constants

The DisplayAdminTools.vbs script presented in Chapter 1, "Starting from Scratch," relies upon what are called shell special folder enumerated types. Although they are detailed in the Platform SDK, they can be a little hard to find in those documents. Due to the power of the DisplayAdminTools.vbs script, and its usefullness in the day-to-day life of network administrators (for both reporting purposes and for troubleshooting), I am including all the special folder constants in Table E-1.

Table E-1. Special folder constant values

Special Folder Name

Value In Hex

Value in Decimal

Admintools

0x30

48

Altstartup

0x1d

29

Appdata

0x1a

26

Bitbucket

0xa

10

Cdburn_area

0x3b

59

Common_admintools

0x2f

47

Common_altstartup

0x1e

30

Common_appdata

0x23

35

Common_desktopdirectory

0x19

25

Common_documents

0x2e

46

Common_favorites

0x1f

31

Common_music

0x35

53

Common_pictures

0x36

54

Common_programs

0x17

23

Common_startmenu

0x16

22

Common_startup

0x18

24

Common_templates

0x2d

45

Common_video

0x37

55

Controls

0x3

3

Cookies

0x21

33

Desktop

0x0

0

Desktopdirectory

0x10

16

Drives

0x11

17

Favorites

0x6

6

Fonts

0x14

20

History

0x22

34

Internet

0x01

1

Internet_cache

0x20

32

Local_appdata

0x1c

28

Mydocuments

0x0c

12

Mymusic

0x0d

13

Mypictures

0x27

39

Myvideo

0x0e

14

Nethood

0x13

19

Network

0x12

18

Personal

0x5

5

Printers

0x4

4

Printhood

0x1b

27

Profile

0x28

40

Profiles

0x3e

62

Program_files

0x26

38

Program_files_common

0x2b

43

Programs

0x2

2

Recent

0x8

8

Sendto

0x9

9

Startmenu

0xb

11

Startup

0x7

7

System

0x25

37

Templates

0x15

21

Windows

0x24

36



Previous Page
Next Page