|
使用NETCFG.EXE命令代替bartpe命令来安装网络组件就应该不需要将inf文件放到inf文件夹中了
因为NETCFG.EXE命令支持指定inf路径的说
NETCFG.EXE -l lnf文件路径 其余参数同bartpe
如:
netcfg -l %SystemRoot%\inf\NETTCPIP.INF -c p -i MS_TCPIP
netcfg -l %SystemRoot%\inf\NETMSCLI.INF -c c -i MS_MSCLIENT
netcfg -l %SystemRoot%\inf\NETSERV.INF -c s -i MS_SERVER
netcfg -l %SystemRoot%\inf\NETRAST.INF -c p -i MS_L2TP
netcfg -l %SystemRoot%\inf\NETRAST.INF -c p -i MS_PPTP
netcfg -l %SystemRoot%\inf\NETRAST.INF -c p -i MS_PPPOE
netcfg -l %SystemRoot%\inf\NETRAST.INF -c p -i MS_WANARP
netcfg -l %SystemRoot%\inf\netrast.inf -c p -i MS_NDISWAN
netcfg -l %SystemRoot%\inf\NETRASS.INF -c s -i MS_RASCLI
netcfg -l %SystemRoot%\inf\NETRASS.INF -c s -i MS_RASSRV
netcfg -l %SystemRoot%\inf\netrass.inf -c s -i MS_RASMAN
netcfg -l %SystemRoot%\inf\NETRASS.INF -c s -i MS_STEELHEAD
netcfg -l %SystemRoot%\inf\NDISUIO.INF -v -c p -i MS_NDISUIO
netcfg -l %SystemRoot%\inf\NETWZC.INF -v -c s -i MS_WZCSVC (这两个要不要-v 要试了才知道)
以上均未试过
[ 本帖最后由 沙漠之子 于 2008-1-14 12:04 AM 编辑 ] |
|