Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Modifying INF files

Status
Not open for further replies.

STEWARTH

MIS
Mar 26, 1999
75
GB
I am trying to modify an INF file for a printer to look to the C: drive for drivers rather than A:

I have placed the INF file in C:\WINNT\INF and the drivers in C:\TEST. Whenever I plug in the printer the INF file looks to A: instead of C:\TEST for the drivers.

By changing the relevant section in the INF file (below) I can modify the path but not the drive (looks to "A:C:\TEST"). Any ideas?

[SourceDisksNames]
1=%Label1%,,C:\TEST
 
Try the unmodified driver with the subst command:

subst a: c:\test
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top