Batch File

Discussion in 'Drivers' started by Nimueh, Apr 15, 2016.

  1. Nimueh

    Nimueh

    Joined:
    Apr 15, 2016
    Messages:
    1
    Likes Received:
    0
    I am installing drivers from a cab on a basic image and trying to speed up the process. I am not able to edit the image so this is my only means. However, when writing the batch I am running into a few issues. One I can't run it off of the the USB key I am using and. Lastlly/ most importantly it is hanging up on the last couple of commands. Any help with this would be amazing.

    mkdir C:\Drivers\cab

    cd C:\Drivers

    Expand –F:* E:\E6540-WIN7-A11-KTJNT.CAB C:\Drivers\cab

    cd C:\Drivers\cab\E6540\win7\x64

    for /f %i in ('dir /b /s *.inf') do pnputil.exe -i -a %i
     
    Nimueh, Apr 15, 2016
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. masplin

    Running a batch file on shutdown win7 64 bit

    masplin, Mar 21, 2010, in forum: General Discussion
    Replies:
    0
    Views:
    6,889
    masplin
    Mar 21, 2010
  2. Elmer BeFuddled

    SOLVED Script (Batch File) Writing...

    Elmer BeFuddled, Jun 26, 2010, in forum: General Discussion
    Replies:
    13
    Views:
    5,343
    Elmer BeFuddled
    Jun 27, 2010
  3. Dick Kimball

    Help with Windows scripting or batch file

    Dick Kimball, Aug 30, 2010, in forum: alt.windows7.general
    Replies:
    5
    Views:
    3,584
    Gene E. Bloch
    Aug 31, 2010
  4. Elmer BeFuddled

    SOLVED Elmers Batch file writing issue #2

    Elmer BeFuddled, Oct 23, 2010, in forum: General Discussion
    Replies:
    12
    Views:
    2,863
  5. Lewis

    Duplicate Drag/Merge in a batch file

    Lewis, Feb 5, 2011, in forum: alt.windows7.general
    Replies:
    4
    Views:
    1,721
    simon67
    Jan 31, 2014
  6. Fire cat

    Batch File Backup + Context Menu

    Fire cat, Mar 9, 2011, in forum: General Discussion
    Replies:
    0
    Views:
    1,720
    Fire cat
    Mar 9, 2011
  7. CometLinda

    Script errors running batch file

    CometLinda, Jun 28, 2011, in forum: Windows 7 Support
    Replies:
    0
    Views:
    4,095
    CometLinda
    Jun 28, 2011
  8. Sid

    Run batch file on shutdown

    Sid, Jul 10, 2011, in forum: General Discussion
    Replies:
    6
    Views:
    29,796
    davehc
    Jul 11, 2011
Loading...