|
以前在研究如何支持无线时,用bartpe.exe命令创建的ndisuio,wzcsvc服务
同样用bartpe.exe,不知是否可创建server,workstation,可能还须添加些文件(可从xp的注册表的得知)
这是以前启用无线时用的批处理文件
- @echo off
- rem -------------------------------------------------------------------------
- rem Wireless.cmd - Script to start Wireless-Service
- rem Created by Joshua.
- rem -------------------------------------------------------------------------
- echo Wireless.CMD: Starting...
- bartpe -v -c p -i ms_ndisuio
- bartpe -v -c s -i ms_wzcsvc
- net start wzcsvc
- net start tapisrv
- bartpe -v -c s -i ms_rasman
- net start rasman
复制代码
bartpe.exe命令行信息
- BartPE Tool v1.2.4
- Copyright (c) 2003-2004 Bart Lagerweij. All rights reserved.
- This program is free software. Use and/or distribute it under the
- terms of the Nu2 license (see bartpe.txt)
- This tool is used to load network drivers and manage network
- components in BartPE.
- bartpe [-v] -c <p|s|c> -i <comp-id>
- bartpe [-v] -q <comp-id>
- bartpe [-v] -u <comp-id>
- bartpe [-v] -s <a|n>
- bartpe [-v] -b <comp-id>
- bartpe [-v] -cn <computername>
- bartpe [-v] -wg <workgroup>
- -c class type of the component
- p=protocol, s=service, c=client
- -i install component
- -q query if component is installed
- -u uninstall component
- -s show component, a=adapters, n=net
- -b shows binding paths for component
- -pnp install drivers using PnP
- -minint same as "-pnp -cn bartpe-* -wg workgroup"
- -cn set the computer name, an '*' will be replaced by
- a random number
- -wg set the workgroup
- -v verbose mode (talk more)
- -? this help info
- Use -cn and -wg before starting the msclient!
- Returns errorlevel 0 when OK
- See bartpe.txt for more info
复制代码
还有似乎PENETCFG,支持局域网的
不过,由于学业紧没时间去试
再在此给大家提个建议:
上传的截图最好保存为png格式,jpg格式文件太大,浏览时很卡的 |
|