View Full Version : Batch file to install a driver

11-12-2004, 08:28 PM
Hi all! a friend of mine, who's not very familiar with computers, asked me to get drivers to her USB dsl modem. I've downloaded the driver which are 3 files netrcacm.cat,netrcacm.inf,netrcacm.sys, in a zip file. So make her life easier, I'd like to create a ms-dos batch file to auto-install the driver. Could someone tell what to write in the batch file?

//EDIT: I forgot.. she uses windows millenium edition... :eek:
I found this but am having touble to understand the sintax...

11-12-2004, 09:20 PM
the supplier of the modem will carry/produce a windows installer version of the drivers im sure.

11-12-2004, 09:21 PM
I wish! the driver came from here (http://users.volja.net/pm5884/thomson.htm). There's no windows installer... only zips.

11-12-2004, 10:16 PM
your right, all i can come up with is the same stuff

11-13-2004, 08:36 AM
I've been looking at devcon.exe:

devcon [-r] install <inf> <hwid>
Manually installs a device.
This command will only work for local machine.
Specify -r to reboot automatically if needed.
<inf> is an INF to use to install the device.
<hwid> is a hardware ID to apply to the device.

I don't know what to put as hardware ID, but I found this info in the inf file:
It is a Thomson tcm305 USB modem.

Any sugestions?