Batch file to install a driver

This is a discussion on Batch file to install a driver within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Hi all! a friend of mine, who's not very familiar with computers, asked me to get drivers to her USB ...

  1. #1
    #include<xErath.h> xErath's Avatar
    Join Date
    Jun 2004
    Posts
    722

    Batch file to install a driver

    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...
    I found this but am having touble to understand the sintax...
    http://www.robvanderwoude.com/index.html
    Last edited by xErath; 11-12-2004 at 08:21 PM.

  2. #2
    RoD
    RoD is offline
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    the supplier of the modem will carry/produce a windows installer version of the drivers im sure.

  3. #3
    #include<xErath.h> xErath's Avatar
    Join Date
    Jun 2004
    Posts
    722
    I wish! the driver came from here. There's no windows installer... only zips.
    Last edited by xErath; 11-12-2004 at 08:53 PM.

  4. #4
    RoD
    RoD is offline
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    your right, all i can come up with is the same stuff

  5. #5
    #include<xErath.h> xErath's Avatar
    Join Date
    Jun 2004
    Posts
    722
    I've been looking at devcon.exe:
    Code:
    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:
    usb\VID_069B&PID_0704
    It is a Thomson tcm305 USB modem.

    Any sugestions?
    Last edited by xErath; 11-13-2004 at 08:22 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Newbie homework help
    By fossage in forum C Programming
    Replies: 3
    Last Post: 04-30-2009, 04:27 PM
  2. File transfer- the file sometimes not full transferred
    By shu_fei86 in forum C# Programming
    Replies: 13
    Last Post: 03-13-2009, 12:44 PM
  3. sequential file program
    By needhelpbad in forum C Programming
    Replies: 80
    Last Post: 06-08-2008, 01:04 PM
  4. To find the memory leaks without using any tools
    By asadullah in forum C Programming
    Replies: 2
    Last Post: 05-12-2008, 07:54 AM
  5. System
    By drdroid in forum C++ Programming
    Replies: 3
    Last Post: 06-28-2002, 10:12 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21