[DestinationDirs] <file-list-section>=<ldid>[, <subdir> ] . . . [DefaultDestDir=<ldid>[, <subdir> ]]
The DestinationDirs section defines the destination directories for the operations specified in file-list sections, which are either CopyFiles, RenFiles, or DelFiles sections. Optionally, a default destination directory may be specified for any CopyFiles, RenFiles, or DelFiles sections in the INF file that are not explicitly named in the DestinationDirs section.
file-list-section
Name of a CopyFiles, RenFiles, or DelFiles section. This name must be referred to in a Copyfiles, RenFiles, or DelFiles item in an Install section.
ldid
A logical disk identifier (LDID). Can be one of these values:
00 | Null LDID. This LDID can be used to create a new LDID |
01 | Source Drive:\pathname |
02 | Temporary setup directory. This is valid only during setup |
03 | Uninstall directory |
04 | Backup directory |
10 | Windows directory |
11 | System directory |
12 | IOSubsys directory |
13 | Command directory |
14 | Control Panel directory |
15 | Printer directory |
16 | Workgroup directory |
17 | INF Directory |
18 | Help directory |
19 | Administration |
20 | Fonts |
21 | Viewers |
22 | VMM32 |
23 | Color directory |
25 | Shared directory |
26 | Winboot |
27 | Machine specific |
28 | Host Winboot |
30 | Root directory of the boot drive |
31 | Root directory for Host drive of a virtual boot drive |
33 | Old Windows directory if it exists |
34 | Old Dos directory if it exists |
subdir
Name of the directory, within the directory named by ldid, to be the destination directory.
The optional DefaultDestDir item provides a default destination for any CopyFiles items that use the direct copy (@filename) notation or any CopyFiles, RenFiles, or DelFiles sections not specified in the DestinationDirs section. If a DefaultDestDir is not used in a DestinationDirs section, then the default directory is set to LDID_WIN.
This example sets the destination directory for the MoveMiniPort section to WINDOWS\IOSUBSYS and sets the default directory for other sections to be the BIN directory on the boot drive:
[DestinationDirs] MoveMiniPort=12 ; Destination for MoveMiniPort Section is ; windows\iosubsys DefaultDestDirs=30,bin ; Direct copies go to Boot:\bin