[DestinationDirs]
file-list-section=ldid(, subdir)
DefaultDestDir=ldid(, subdir)
The DestinationDirs section defines the destination directories for the operations specified in file-list-section, which is either a CopyFiles, RenFiles, or DelFiles section. Optionally, a default destination directory may be specified for any CopyFiles, RenFiles, or DelFiles section 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:
| Value | Meaning |
|---|---|
| 00 | Null LDID. This LDID can be used to create a new LDID |
| 01 | Source Drive:\pathname |
| 10 | Machine directory (Maps to the Windows directory on a Server-Based Setup.) |
| 11 | System directory |
| 12 | IOSubsys directory |
| 13 | Command directory |
| 17 | INF Directory |
| 18 | Help directory |
| 20 | Fonts |
| 21 | Viewers |
| 22 | VMM32 |
| 23 | Color directory |
| 24 | Root of drive containing the Windows directory |
| 25 | Windows directory |
| 26 | Guarenteed boot device for Windows (Winboot) |
| 28 | Host Winboot |
| 30 | Root directory of the boot drive |
| 31 | Root directory for Host drive of a virtual boot drive |
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