Using Dirids

Using Dirids


ValueDestination Directory
01SourceDrive:\pathname (the directory from which the INF file was installed)
10Windows directory %windir%.
11System directory %windir%\system32
12Drivers directory %windir%\system32\drivers
17INF file directory
18Help directory
20Fonts directory
21Viewers directory
23Color directory (ICM) (not used for installing printer drivers)
24Root directory of the system disk.
This is the root directory of the disk on which Windows files are installed. For example, if dirid 10 is "C:\winnt", then dirid 24 is "C:\".
25Shared directory
30Root directory of the boot disk, also known as "ARC system partition," for NT-based systems. (This might or might not be the same directory as the one represented by dirid 24.)
50System directory for NT-based operating systems %windir%\system
51Spool directory (not used for installing printer drivers − see Printer Dirids)
52Spool drivers directory (not used for installing printer drivers)
53User profile directory
54Directory where ntldr.exe and osloader.exe are located (NT-based systems only)
55Print processors directory (not used for installing printer drivers)
-1Absolute path

Dirid values from 16384 through 32767 are reserved for special shell folders. The following table shows dirid values for these folders.


ValueShell Special Folder
16406All Users\Start Menu
16407All Users\Start Menu\Programs
16408All Users\Start Menu\Programs\Startup
16409All Users\Desktop
16415All Users\Favorites
16419All Users\Application Data
16422Program Files
16425%WinDir%\System32 (valid for Microsoft Win32 user-mode applications running under Windows on Windows (WOW64))
16426Program Files (valid for Win32 user-mode applications running under WOW64)
16427Program Files\Common
16428Program Files\Common (valid for Win32 user-mode applications running under WOW64)
16429All Users\Templates
16430All Users\Documents

No comments:

Post a Comment