原帖由 <i>2011wosliming</i> 于 2012-9-29 00:19 发表 <a href="http://bbs.wuyou.net/redirect.php?goto=findpost&pid=2574290&ptid=256981" target="_blank"><img src="http://bbs.wuyou.net/images/common/back.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open(this.src);}" onmousewheel="return imgzoom(this);" alt="" /></a><br />
论坛求助,<br />
<br />
现在用笔记本连接两个网段,想获得有线连接的本机ip 以及这个网段的在线的电脑的ip地址<br />
<br />
使用net view ,可是在判断哪一个是有线连接上,不知道如何办,<br />
<br />
朋友提供的代码,<br />
<br />
<br />
@echo off<br />
...
原帖由 2011wosliming 于 2012-9-30 19:20 发表 还是这个问题,在测试的时候发现报错,想获取本机ip之后,for /L 循环1.1.254这样来判断哪一个是通的,但是ip的变量替换出来点问题,@echo offsetlocal enabledelayedexpansioncolor 37for /f "tokens= ...
欢迎光临 无忧启动论坛 (http://wuyou.net/) | Powered by Discuz! X3.3 |