The DestinationDirs section defines the destination directories for the operations specified in file-list sections (Copy Files, Rename Files, or Delete Files). Optionally, a default destination directory may be specified for any Copy Files, Rename Files, or Delete Files sections in the INF file that are not explicitly named in the DestinationDirs section.
[DestinationDirs] file-list-section=drid[,subdir] . . . [DefaultDestDir=drid[,subdir]]
-01 Absolute path (32-bit).
0xffff Absolute path (16-bit).
01 SourceDrive:\pathname. The directory from which the INF
file was installed.
10 Windows directory.
11 System directory. This is %windir%\system32 on
Windows NT and %windir%\system on Windows 95.
12 Drivers directory. This is %windir%\system32\drivers on
Windows NT.
17 INF file directory.
18 Help directory.
20 Fonts directory.
21 Viewers directory.
24 Applications directory.
25 Shared directory.
30 Root directory of the boot drive.
50 %windir%\system directory.
51 Spool directory.
52 Spool drivers directory.
53 User Profile directory.
54 Directory where ntldr.exe and osloader.exe are located.
The optional DefaultDestDir item provides a default destination for any CopyFiles items that use the direct copy (@filename) notation or any Copy Files, Rename Files, or Delete Files sections not specified in the DestinationDirs section. If a DefaultDestDir is not used in a DestinationDirs section, the default directory is set to drid_system.
This example sets the default directory for all the sections of the INF file to the drivers directory:
[DestinationDirs] DefaultDestDir = 12