PRB: Relative Paths in SourceDisksFiles Section of Driver .inf Files Replaced By New Value in SourceDisksNames Section

ID: Q234309


The information in this article applies to:


SYMPTOMS

In versions of Windows previous to Windows 98 Second Edition, it was sometimes necessary to specify a relative path for files in the SourceDisksFiles section of a device driver .inf file. For example, in order to specify that the file will be found in the directory '..\drivers\win_95', the following notation may be used in the .inf file:


[SourceDisksFiles]
mydrvr.drv=1,"..\DRIVERS\WIN_95" 
Relatives paths, however, may not work properly in Windows 98 Second Edition.


RESOLUTION

Device driver .inf files may instead include the full path as the fourth parameter to each of the disk name keys in the SourceDisksPaths section:


[SourceDisksNames]
1="My Driver Install CD",,0,"\DRIVERS\WIN_9X" 

Additional query words: INF driver instal


Keywords          : 
Version           : Win95:; Win98:
Platform          : Win95 Win98 
Issue type        : kbprb 

Last Reviewed: July 19, 1999