内容显示页
 
类别:服务器相关 | 浏览(50) | 2008-4-21 12:45:24

C:\Documents and Settings\Administrator>ipconfig | find /?
在文件中搜索字符串。

FIND [/V] [/C] [/N] [/I] [/OFF[LINE]] "string" [[drive:][path]filename[ ...]]

  /V         显示所有未包含指定字符串的行。
  /C         仅显示包含字符串的行数。
  /N         显示行号。
  /I         搜索字符串时忽略大小写。
  /OFF[LINE] 不要跳过具有脱机属性集的文件。
  "string"   指定要搜索的文字串。
  [drive:][path]filename
             指定要搜索的文件。

如果没有指定路径,FIND 将搜索键入的或者由另一命令产生的文字。

返回结果:

C:\Documents and Settings\Administrator>ipconfig |find "IP"
Windows IP Configuration
   IP Address. . . . . . . . . . . . : 192.168.228.1
   IP Address. . . . . . . . . . . . : 192.168.188.1
   IP Address. . . . . . . . . . . . : 192.168.0.106
 

systeminfo |find "天"
ping www.yongfa365.com |find "["
 

 

 


引用本页地址:http://www.yongfa365.com/item/f2d5ced15f69728d.html
 
 
相关链接
 
网友评论:
姓名: 记住我
网址:
邮箱:
内容:
验证码:  验证码图片看不清? 换张图试试
 
   
 
 
文章分类
 
   

power by :柳永法(yongfa365)'Blog | model by :hibaidu | css by:众网友 | 京ICP备07011491号   我要统计  

本空间赞助商:北京中科兴联信息技术有限公司

QQ:64049027    E-mail:64049027<at>qq.com