snetcfg.exe 的使用方法

来源:百度知道 编辑:UC知道 时间:2024/05/24 19:59:53
我知道

snetcfg.exe是微软公司提供的一个工具,用于安装驱动程序。ARP防火墙的驱动程序就是通过snetcfg.exe来安装的。这个纯属杀毒软件误报,请放心使用。可以先把snetcfg.exe程序备份后删除,不影响ARP防火墙正常使用。我们会在下一版本解决这个误报的问题

想问,这个软件如何来操作使用,参数的具体说明.

……这问题自己动手就解决了~_~
命令行下执行:snetcfg.exe /help
看看不就清楚了,超简单的英文都是,查字典也查出来了^_^
给你贴上大概翻译了一下,具体的自己根据想实现的功能摸索一下吧,
搞程序探索精神一定要有滴~~
//第一种格式:安装
snetcfg [-v] [-l <full-path-to-component-INF>] -c <p|s|c> -i <comp-id>
where,
-l provides the location of INF
//指定INF文件的完整路径
-c provides the class of the component to be installed
p == Protocol, s == Service, c == Client
//指定组件类型,P=协议,S=服务,C=客户端
-i provides the component ID
//指定组件ID

The arguments must be passed in the order shown.
//参数必须按指定顺序排列

Examples: //例子自己看吧
snetcfg -l c:\oemdir\foo.inf -c p -i foo
...installs protocol 'foo' using c:\oemdir\foo.inf

snetcfg -c s -i MS_Server
...installs service 'MS_Server'

OR
//第二种格式:查看指定组件
snetcfg [-v] -q <comp-id>
Example:
snetcfg -q MS_IPX