|
|
|
|
|
|
|
|
;interface dump>c:\school.txt”,这样就完成了校园网网络配置的备份。同样方法备份城域网的网络配置City.txt。
2. 完成备份后,就可以制作批处理文件(.bat)了。打开记事本输入以下内容:netsh -f c:\school.txt ,保存为School.bat文件;城域网的批处理文件(City.bat)内容为:netsh -f c:\city.txt 。
网络转换时只需双击相应的批处理文件,即可快速完成。
当然,上面两步完全可以建立为一个批处理文件。比如,城域网的配置批处理(City.bat)文件内容为:
echo off
netsh interface ip set address name="本地连接" source=static addr=10.18.33.2页码:[1] [2] [3] [4] [5] [6] 第2页、共6页 |
|
|
|
|
设为首页 | 加入收藏 | 广告服务 | 友情链接 | 版权申明
Copyriht 2007 - 2008 © 科普之友 All right reserved |