从命令行安装驱动程序(.inf)文件 [英] Installing a driver(.inf) file from command line

查看:2291
本文介绍了从命令行安装驱动程序(.inf)文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows 8.1中工作。
我需要从命令行安装驱动程序文件(.inf文件)。我需要使用哪个命令。
我知道我有很多其他方法来安装.inf文件,但我必须从命令行安装。



请帮助我
谢谢提前...

解决方案

有许多变体...以及Windows新版本的许多复杂功能。

但对于初学者,尝试这样:



rundll32.exe advpack.dll,LaunchINFSectionEx myinf .inf ,, c:\temp\mydata.cab,36





注意:请注意建议使用setupapi而不是advpack的旧链接。你肯定想要advpack.dll。


I am working in windows 8.1. I need to install a driver file(.inf file) from command line. Which command i need to use.? I know i have many other method for installing a .inf file, but i must install this from command line.

Please help me Thanks in advance...

解决方案

There are many variants ... and many complications with newer versions of Windows.

But for starters, try something like this:

rundll32.exe advpack.dll,LaunchINFSectionEx myinf.inf,,c:\temp\mydata.cab,36

Note: beware older links that suggest "setupapi" instead of "advpack". You definitely want advpack.dll.

这篇关于从命令行安装驱动程序(.inf)文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆