X
WվO| | DΈD| | Fk| ϵy| ԇJC| Wjg| ܛ| XP| ČWƷ
 
Wվ_l| W| ϵy| DD| ԇJC| | | Ӳg| Fk| Wjg| ЦԒl
λã X-> -> Wjg-> WjA-> Wj1

Wj1
ߣ Դnet130 rg2005-1-14
P
  • Wj6
  • Wj5
  • Wj4
  • Wj3
  • Wj2
  • DelphiЅ
  • P:
    1.õyԇWj
    ping 192.168.0.8 t tǵȴÑȥДyԇ

    2.鿴DNSIPMac
    A.Win98winipcfg
    B.Win2000ϣIpconfig/all

    C.NSLOOKUP鿴ӱDNS
    C:\>nslookup
    Default Server: ns.hesjptt.net.cn
    Address: 202.99.160.68
    >server 202.99.41.2 tDNSĞ41.2
    > pop.pcpop.com
    Server: ns.hesjptt.net.cn
    Address: 202.99.160.68

    Non-authoritative answer:
    Name: pop.pcpop.com
    Address: 202.99.160.212

    3.Wjʹ ˆ~
    Net send ӋC/IP|* (V) ̓עⲻܿW
    net stop messenger ֹͣʹҲ壭޸
    net start messenger _ʼʹ

    4.̽yӋCڵĽM򼰮ǰÑ ׷Ĺԭ
    ping a IP t ֻ@ʾNetBios
    nbtstat -a 192.168.10.146 ^ȫ

    5.netstat -a @ʾӋCǰ_ŵж˿
    netstat -s -e ^Ԕ@ʾľWjYTCPUDPICMP IPĽyӋ

    6.̽yarpӑBoBб@ʾBҵӋC@ʾIPMACַ
    arp -a

    7.ڴ
    IPMACַQWȱIIP??
    ARP s 192.168.10.59 00 50ff6c0875
    WIPcMACַĽ
    arp -d WIP

    8.ھWj[ӋC ׌˼ҿҊ??
    net config server /hidden:yes
    net config server /hidden:no t_

    9.ׂnet
    A.@ʾǰMб net viewxʹñr͕@ʾǰWjϵӋCϵб
    磺鿴@IPϵĹYԴͿ
    C:\>net view 192.168.10.8
    192.168.10.8 ĹYԴ
    YԴ ; ע
    --------------------------------------
    Wվ Disk
    ɹ

    B.鿴ӋCϵÑ̖б net user
    C.鿴Wj朽 net use
    磺net use z: \\192.168.10.8\movie @IPmovieĿӳ鱾صZP

    D.ӛ朽 net session

    C:\>net session
    ӋC Ñ ͑ _erg
    -------------------------------------------------------------------------------
    \\192.168.10.110 ROME Windows 2000 2195 0 00:03:12

    \\192.168.10.51 ROME Windows 2000 2195 0 00:00:39
    ɹ

    10.·ɸۙ
    A.tracert pop.pcpop.com
    B.pathping pop.pcpop.com @ʾ·߀ṩ325SķӋGʧģ

    11.PڹȫĎׂ
    A.鿴CĹYԴ net share
    B.ֹhԾbatļ_C\ѹh??
    net share c$ /d
    net share d$ /d
    net share ipc$ /d
    net share admin$ /d
    ע$пո
    C.һ
    c:\net share mymovie=e:\downloads\movie /users:1
    mymovie ɹ
    ͬr朽Ñ1

    12.DOSOoBIP
    A.OoBIP
    CMD
    netsh
    netsh>int
    interface>ip
    interface ip>set add "朽" static IPַ mask gateway
    B.鿴IPO
    interface ip>show address

    Arp
    @ʾ޸ġַfh (ARP)еĿARP аһڴ惦 IP ַ佛^̫WƭhַӋCϰbÿһ̫WƭhWjmԼΪıڛ]Ѕrʹt arp @ʾϢ

    Z
    arp [-a [InetAddr] [-N IfaceAddr]] [-g [InetAddr] [-N IfaceAddr]] [-d InetAddr [IfaceAddr]] [-s InetAddr EtherAddr [IfaceAddr]]


    -a [InetAddr] [-N IfaceAddr]
    @ʾнӿڵĮǰ ARP Ҫ@ʾָ IP ַ ARP ՈʹÎ InetAddr arp -a̎ InetAddr ָ IP ַҪ@ʾָӿڵ ARP Ոʹ -N IfaceAddr ̎ IfaceAddr oָӿڵ IP ַ-N ^ִС
    -g [InetAddr] [-N IfaceAddr]
    c -a ͬ
    -d InetAddr [IfaceAddr]
    hָ IP ַ̎ InetAddr IP ַָĽӿҪhеijՈʹ IfaceAddr
    ̎ IfaceAddr oԓӿڵ IP ַҪhՈʹ̖ (*) ͨ InetAddr
    -s InetAddr EtherAddr [IfaceAddr]
    ARP ӿɌ IP ַ InetAddr ַ EtherAddr oBҪָӿڵıoB ARP Ոʹ IfaceAddr ̎ IfaceAddr oԓӿڵ IP ַ
    /?
    ʾ@ʾ
    ע
    InetAddr IfaceAddr IP ַÎAcʮMӛʾ
    ַ EtherAddr ֹM@ЩֹʮMӛʾBַ_00-AA-00-4F-2A-9C
    ͨ^ -s ӵ헌oB ARP гrKֹ TCP/IP fhن@Щ헕hҪõoB ARP Ո̎ļʹm arp ͨ^Ӌ΄ճچӕr\ԓ̎ļ
    ֻЮWHfh (TCP/IP) fh WjBаbWjmԵĽMrԓſ

    Ҫ@ʾнӿڵ ARP I룺

    arp -a

    ָɵ IP ַ 10.0.0.99 ĽӿҪ@ʾ ARP I룺

    arp -a -N 10.0.0.99

    Ҫӌ IP ַ 10.0.0.80 ַ 00-AA-00-4F-2A-9C oB ARP I룺

    arp -s 10.0.0.80 00-AA-00-4F-2A-9C

    At
    ӋָrgӋC\ͳat ֻڡӋ\Еrʹڛ]Ѕrʹt at гӋ

    Z
    at [\\ComputerName] [{[ID] [/delete]|/delete [/yes]}]

    at [[\\ComputerName] hours:minutes [/interactive] [{/every:date[,...]|/next:date[,...]}] command]


    \\computername
    ָhӋCʡԓt at ӋӋCϵͳ
    ID
    ָָɽoӋRea
    /delete
    ȡӋʡ IDtӋCӋȡ
    /yes
    hӋ¼rϵyԃشǡ
    hours:minutes
    ָ\еĕrgԓrg 24 Сrƣ 00:00 [ҹ] 23:59 Сr: 犸ʽʾ
    /interactive
    \ command r䛵Ñ,S command cԓÑMн
    /every:
    ÿڻµָڣÿÿµĵ죩\ command 
    date
    ָ\?Ҟĸһܵijȗ򶇆գ?I MTWThFSSuһеijջգI 1 31 ֮gĔ֣öָ̖ʡ datet at ʹԓµĮǰ
    /next:
    һָڣһģr\ command
    command
    ָҪ\е Windows .exe .com ļ̎.bat .cmd ļҪ·酢rՈʹý^·ҲǏ̖_ʼ·hӋCՈָ͹ͨf (UNC) ̖h̖
    /?
    ʾ@ʾ
    ע
    Schtasks ǹܸ鏊ijӋ at йейеӋ΄ʹ schtasks atP schtasks ԔϢՈ醡P}

    ʹ at
    ʹ at rҪDZ Administrators MijɆT

    d Cmd.exe
    \֮ǰAt ԄӼd Cmd.exe ]\пɈļ (.exe)t_^ʹʾķTd Cmd.exe

    cmd /c dir > c:\test.out

    鿴Ӌ
    xʹ at rӋ΄ՕF¸ʽıУ

    Status ID Day Time Command Line
    OK 1 Each F 4:30 PM net send group leads status due
    OK 2 Each M 12:00 AM chkstor > check.file
    OK 3 Each F 11:59 PM backup2.bat
    R̖ (ID)
    ʾʹÎИR̖ (ID) at r΂΄헵Ϣ@ʾĸʽУ

    Task ID 1

    Status:OK

    Schedule:Each F

    Time of Day:4:30 PM

    Command:net send group leads status dueӋ at ǎx헵Ҫͨ^I벻x헵 at zԓZǷݔ_@ʾڡСеϢ_ՈhԓȻI߀_tIԓr׌َЩx

    鿴Y
    ʹ at ѽӋ_\\нY@ʾӋCҪݔضļՈʹض̖ (> )ݔضļtՓ߀̎ļʹ atҪض̖֮ǰʹDx (^)Ҫضݔ Output.text ļtҪI룺

    at 14:45 c:\test.bat ^>c:\output.txt

    ĮǰĿ䛞 systemroot ļA

    ϵyrg
    ʹ at Ӌ

    [T:tonny]

    P
  • Wj6
  • Wj5
  • Wj4
  • Wj3
  • Wj2
  • DelphiЅ
  • P:
    վ]

    CPI~:

    WjA
    ֪R
    }
    Wjȫ
    MWg
    WjA
    Wj

    X̳x
    Wj1
    Wj3
    Wj4
    Wj5
    PpgB,pgԔ...
    WПoLĽQ
    MACַԭú
    TCP˿ڵ©Ͳh...
    2006¹
    WÆ}}