Batch File

Joined
Apr 15, 2016
Messages
1
Reaction score
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
 

Ask a Question

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. After that, you can post your question and our members will help you out.

Ask a Question

Top