Just RUN

A scientist builds in order to learn; an engineer learns in order to build.

得到MAC地址的Shell命令。

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

D:\Documents and Settings\Administrator>%comspec% /c nbtstat -A 192.168.1.22 > c
:mac.txt

D:\Documents and Settings\Administrator>%comspec% /c nbtstat -A 192.168.1.22

Local Area Connection:
Node IpAddress: [192.168.1.22] Scope Id: []

           NetBIOS Remote Machine Name Table

       Name               Type         Status
    ---------------------------------------------
    CPT-MRUAN      <00>  UNIQUE      Registered
    COMGI          <00>  GROUP       Registered
    CPT-MRUAN      <20>  UNIQUE      Registered

    MAC Address = 00-0C-F1-94-E6-19


D:\Documents and Settings\Administrator>dir > c:\tmp.txt

posted on 2004-09-21 13:29    阅读(2529)  评论(1编辑  收藏  举报

导航