網絡經典命令行(轉貼)

1.最基本,最常用的,測試物理網絡的
ping 192.168.10.59 -t ,參數-t是等待用戶去中斷測試
2.查看DNS(對貓用戶),還是比較有用處的
A.Win98:winipcfg
B.Win2000以上:Ipconfig/all
C.NSLOOKUP:如河北DNS
C:/>nslookup
Default Server: ns.hesjptt.net.cn
Address: 202.99.160.68

3.網絡信使
Net send 計算機名/IP|*(廣播) 傳送內容,注意不能跨網段
net stop messenger 停止信使服務,也可以在面板-服務修改
net start messenger 開始信使服務

4.探測對方對方計算機名,所在的組、域及當前用戶名
ping -a IP地址 -t ,只顯示NetBios名
nbtstat -a 192.168.10.146 比較全的

5.netstat -a 顯示出你的計算機當前所開放的所有端口
netstat -s -e 比較詳細的顯示你的網絡資料,包括TCP、UDP、ICMP 和 IP的統計等

6.探測誰連接了我的計算機,顯示對方IP和MAC地址
arp -a

7.在代理服務器端
捆綁IP和MAC地址,解決局域網內盜用IP:
ARP -s 192.168.10.59 00-50-ff-6c-08-75
解除網卡的IP與MAC地址的綁定:
arp -d 網卡IP

8.在網絡鄰居上隱藏你的計算機
net config server /hidden:yes
net config server /hidden:no 則爲開啓

9.幾個net命令
A.顯示當前工作組服務器列表 net view
B.查看計算機上的用戶帳號列表 net user
C.查看網絡鏈接 net use
D.記錄鏈接 net session
例如:
C:/>net session
計算機 用戶名 客戶類型 打開空閒時間
-------------------------------------------------------------------------------
//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的分析,計算丟失包的%

11.關於共享安全的幾個命令
A.查看你機器的共享資源 net share
B.手工刪除共享
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 共享成功。
同時限制鏈接用戶數爲1人。

12.在DOS行下設置靜態IP
A.設置靜態IP
CMD
netsh
netsh>int
interface>ip
interface ip>set add "本地鏈接" static IP地址 mask gateway
B.查看IP設置
interface ip>show address

-----------------------------------



.rhosts 文件是一個文本文件,該文件中每一行爲一個條目。條目由本地計算機名、本地用戶名和有關該條目的所有註釋組成。每個條目均由製表符或空格分開,註釋用符號 (#) 打頭。例如:

host7 #This computer is in room 31A

.rhosts 文件必須在遠程計算機的用戶主目錄中。有關遠程計算機 .rhosts 文件特定執行的詳細信息,請參閱遠程系統的文檔。

只有當網際協議 (TCP/IP) 協議在 網絡連接中安裝爲網絡適配器屬性的組件時,該命令纔可用。
範例
要以名稱 admin1 在遠程計算機 vax1 上執行 telcon 命令,請鍵入:

rsh vax1 -l admin1 telcon

Tftp
向運行平凡文件傳輸協議 (TFTP) 服務或 daemon 的遠程計算機(尤其是運行 UNIX 的計算機)傳輸文件或從運行平凡文件傳輸協議 (TFTP) 服務或 daemon 的遠程計算機(尤其是運行 UNIX 的計算機)傳輸文件。

語法
tftp [-i] [Host] [{get | put}] [Source] [Destination]

參數
-i
指定二進制圖像傳送模式(也稱爲八進制模式)。在二進制圖像模式下,文件以一個字節爲單位進行傳輸。在傳送二進制文件時使用該模式。如果省略了 -i,文件將以 ASCII 模式傳送。這是默認的傳送模式。該模式將行尾 (EOL) 字符轉換爲指定計算機的適當格式。傳送文本文件時使用該模式。如果文件傳送成功,將顯示數據傳輸率。
Host
指定本地或遠程計算機。
put
將本地計算機上的 Destination 文件傳送到遠程計算機上的 Source 文件。因爲 TFTP 協議不支持用戶身份驗證,所以用戶必須登錄到遠程計算機,同時文件在遠程計算機上必須可寫。
get
將遠程計算機上的 Destination 文件傳送到本地計算機上的 Source 文件。
Source
指定要傳送的文件。
Destination
指定將文件傳送到的位置。如果省略了 Destination,將假定它與 Source 同名。
/?
在命令提示符顯示幫助。
註釋
使用 get 參數
如果將本地計算機上的文件 FileTwo 傳送到遠程計算機上的文件 FileOne,則指定 put。如果將遠程計算機上的文件 FileTwo 傳送到遠程計算機上的文件 FileOne,則指定 get。

Windows XP 或 Windows 2000 不提供一般用途的 TFTP 服務器。Windows 2000 提供的 TFTP 服務器服務只爲 Windows XP 和 Windows 2000 客戶端計算機提供遠程引導功能。
只有當網際協議 (TCP/IP) 協議在 網絡連接中安裝爲網絡適配器屬性的組件時,該命令纔可用。
範例
要從本地計算機將文件 Users.txt 傳送到遠程計算機 vax1 上的 Users19.txt,請鍵入:

tftp vax1 put users.txt users19.txt
Nbtstat
顯示本地計算機和遠程計算機的基於 TCP/IP (NetBT) 協議的 NetBIOS 統計資料、NetBIOS 名稱表和 NetBIOS 名稱緩存。Nbtstat 可以刷新 NetBIOS 名稱緩存和註冊的 Windows Internet 名稱服務 (WINS) 名稱。使用不帶參數的 nbtstat 顯示幫助。

語法
nbtstat [-a RemoteName] [-A IPAddress] [-c] [-n] [-r] [-R] [-RR] [-s] [-S] [Interval]

參數
-a remotename
顯示遠程計算機的 NetBIOS 名稱表,其中,RemoteName 是遠程計算機的 NetBIOS 計算機名稱。NetBIOS 名稱表是運行在該計算機上的應用程序使用的 NetBIOS 名稱列表。
-A IPAddress
顯示遠程計算機的 NetBIOS 名稱表,其名稱由遠程計算機的 IP 地址指定(以小數點分隔)。
-c
顯示 NetBIOS 名稱緩存內容、NetBIOS 名稱表及其解析的各個地址。
-n
顯示本地計算機的 NetBIOS 名稱表。Registered 中的狀態表明該名稱是通過廣播或 WINS 服務器註冊的。
-r
顯示 NetBIOS 名稱解析統計資料。在配置爲使用 WINS 的 Windows XP 計算機上,該參數將返回已通過廣播和 WINS 解析和註冊的名稱號碼。
-R
清除 NetBIOS 名稱緩存的內容並從 Lmhosts 文件中重新加載帶有 #PRE 標記的項目。
-RR
重新釋放並刷新通過 WINS 註冊的本地計算機的 NetBIOS 名稱。
-s
顯示 NetBIOS 客戶和服務器會話,並試圖將目標 IP 地址轉化爲名稱。
-S
顯示 NetBIOS 客戶和服務器會話,只通過 IP 地址列出遠程計算機。
Interval
重新顯示選擇的統計資料,可以中斷每個顯示之間的 Interval 中指定的秒數。按 CTRL+C 停止重新顯示統計信息。如果省略該參數, netstat 將只顯示一次當前的配置信息。
/?
在命令提示符顯示幫助。
註釋
Nbtstat 命令行參數區分大小寫。
下表列出了由 Nbtstat 生成的列標題。 標題 說明
Input 接收的字節數。
Output 發送的字節數。
In/Out 該連接是否從計算機(傳出)或者其他計算機到本地計算機(傳入)。
Lift 名稱表緩存項在被清除之前所存留的時間。
Local Name 本地 NetBIOS 名稱與連接相關聯。
Remote Host 與遠程計算機相關的名稱或 IP 地址。
<03> 轉化爲十六進制的 NetBIOS 名稱的最後一個字節。每個 NetBIOS 名稱長度均爲 16 個字符。由於最後一個字節通常有特殊的意義,因爲相同的名稱(只有最後一個字節不同)可能在一臺計算機上出現幾次。例如,<20> 在 ASCII 文本中是一個空格。
Type 名稱類型。名稱可以是單個名稱,也可以是組名稱。
Status 遠程計算機上是否在運行 NetBIOS 服務(“已註冊”),或同一計算機名是否已註冊了相同的服務(“衝突”)。
State NetBIOS 連接的狀態。

下表列出了可能的 NetBIOS 連接狀態。 狀態 說明
已連接 會話已建立。
關聯 連接的終結點已經被創建並與 IP 地址關聯。
正接聽 該終結點對內向連接可用。
空閒 該結束點已被打開單不能接收連接。
正在連接 會話處於連接階段。在此階段正在解析所選目標的由名稱到 IP 地址的映射。
接受 入站會話當前正在被接受,將在短期內連接。
重新連接 會話將試圖重新連接(如果第一次連接失敗)。
出站 會話正處於連接階段。此階段正在創建 TCP 連接。
入站 入站會話在連接期。
正在斷開 會話正在斷開連接。
已中斷連接 本地計算機已斷開連接,並正等待遠程系統的確認。

只有當網際協議 (TCP/IP) 協議在 網絡連接中安裝爲網絡適配器屬性的組件時,該命令纔可用。
範例
要顯示 NetBIOS 計算機名爲 CORP07 的遠程計算機的 NetBIOS 名稱表,請鍵入:

nbtstat -a CORP07

要顯示所分配 IP 地址爲 10.0.0.99 的遠程計算機的 NetBIOS 名稱表,請鍵入:

nbtstat -A 10.0.0.99

要顯示本地計算機的 NetBIOS 名稱表,請鍵入:

nbtstat -n

要顯示本地計算機 NetBIOS 名稱緩存的內容,請鍵入:

nbtstat -c

要清除 NetBIOS 名稱緩存並重新裝載本地 Lmhosts 文件中帶標記 #PRE 的項目,請鍵入:

nbtstat -R

要釋放通過 WINS 服務器註冊的 NetBIOS 名稱並對其重新註冊,請鍵入:

nbtstat -RR

要每隔 5 秒以 IP 地址顯示 NetBIOS 會話統計資料,請鍵入:

nbtstat -S 5

Netstat
顯示活動的 TCP 連接、計算機偵聽的端口、以太網統計信息、IP 路由表、IPv4 統計信息(對於 IP、ICMP、TCP 和 UDP 協議)以及 IPv6 統計信息(對於 IPv6、ICMPv6、通過 IPv6 的 TCP 以及通過 IPv6 的 UDP 協議)。使用時如果不帶參數,netstat 顯示活動的 TCP 連接。

語法
netstat [-a] [-e] [-n] [-o] [-p Protocol] [-r] [-s] [Interval]

參數
-a
顯示所有活動的 TCP 連接以及計算機偵聽的 TCP 和 UDP 端口。
-e
顯示以太網統計信息,如發送和接收的字節數、數據包數。該參數可以與 -s 結合使用。
-n
顯示活動的 TCP 連接,不過,只以數字形式表現地址和端口號,卻不嘗試確定名稱。
-o
顯示活動的 TCP 連接幷包括每個連接的進程 ID (PID)。可以在 Windows 任務管理器中的“進程”選項卡上找到基於 PID 的應用程序。該參數可以與 -a、-n 和 -p 結合使用。
-p Protocol
顯示 Protocol 所指定的協議的連接。在這種情況下,Protocol 可以是 tcp、udp、tcpv6 或 udpv6。如果該參數與 -s 一起使用按協議顯示統計信息,則 Protocol 可以是 tcp、udp、icmp、ip、tcpv6、udpv6、icmpv6 或 ipv6。
-s
按協議顯示統計信息。默認情況下,顯示 TCP、UDP、ICMP 和 IP 協議的統計信息。如果安裝了 Windows XP 的 IPv6 協議,就會顯示有關 IPv6 上的 TCP、IPv6 上的 UDP、ICMPv6 和 IPv6 協議的統計信息。可以使用 -p 參數指定協議集。
-r
顯示 IP 路由表的內容。該參數與 route print 命令等價。
Interval
每隔 Interval 秒重新顯示一次選定的信息。按 CTRL+C 停止重新顯示統計信息。如果省略該參數,netstat 將只打印一次選定的信息。
/?
在命令提示符顯示幫助。
註釋
與該命令一起使用的參數必須以連字符 (-) 而不是以短斜線 (/) 作爲前綴。
Netstat 提供下列統計信息:
Proto
協議的名稱(TCP 或 UDP)。

Local Address
本地計算機的 IP 地址和正在使用的端口號。如果不指定 -n 參數,就顯示與 IP 地址和端口的名稱對應的本地計算機名稱。如果端口尚未建立,端口以星號(*)顯示。

Foreign Address
連接該插槽的遠程計算機的 IP 地址和端口號碼。如果不指定 -n 參數,就顯示與 IP 地址和端口對應的名稱。如果端口尚未建立,端口以星號(*)顯示。

(state)
表明 TCP 連接的狀態。可能的狀態如下:

CLOSE_WAIT

CLOSED

ESTABLISHED

FIN_WAIT_1

FIN_WAIT_2

LAST_ACK

LISTEN

SYN_RECEIVED

SYN_SEND

TIMED_WAIT

有關 TCP 連接狀態的信息,請參閱 RFC 793。

只有當網際協議 (TCP/IP) 協議在 網絡連接中安裝爲網絡適配器屬性的組件時,該命令纔可用。
範例
要想顯示以太網統計信息和所有協議的統計信息,請鍵入下列命令:

netstat -e -s

要想僅顯示 TCP 和 UDP 協議的統計信息,請鍵入下列命令:

netstat -s -p tcp udp

要想每 5 秒鐘顯示一次活動的 TCP 連接和進程 ID,請鍵入下列命令:

nbtstat -o 5

要想以數字形式顯示活動的 TCP 連接和進程 ID,請鍵入下列命令:

nbtstat -n –o

Runas
允許用戶用其他權限運行指定的工具和程序,而不是用戶當前登錄提供的權限。

語法
runas [{/profile|/noprofile}] [/env] [/netonly] [/smartcard] [/showtrustlevels] [/trustlevel] /user:UserAccountName program

參數
/profile
加載用戶的配置文件。/profile 是默認值。
/no profile
/noprofile 指定不加載用戶的配置文件。這使應用程序載入的更加快速,但是在一些應用程序中也會引起錯誤。
/env
指定當前使用的網絡環境,而不是用戶的本地環境。
/netonly
指明指定的用戶信息只用於遠程訪問。
/smartcard
/smartcard 表示憑據是否是由智能卡提供的。
/showtrustlevels
列出 /trustlevel 開關項。
/trustlevel
指定應用程序運行所在的授權級別。使用 /showtrustlevels 查看可用的信任級別。
/user:UserAccountName
指定在其下運行程序的用戶帳戶的名稱。用戶帳戶的格式應是 user@domain 或 domain/user。
程序
指定要用在 /user 中指定的帳戶運行的程序或命令。
/?
在命令提示符顯示幫助。
註釋
管理員可以使用一個權限受限制的帳戶執行日常、非管理性的任務,只有在執行特定管理任務時,才使用一個權限更大的帳戶。要不經過註銷再重新登錄就完成這樣的任務,可以用一般帳戶登錄,然後使用 runas 命令來運行需要更大權限的工具。
有關 runas 命令的使用範例,請參閱“相關主題”。
儘管 runas 通常由 Administrator 帳戶使用,但並非僅限於 Administrator 帳戶。任何擁有多個帳戶的用戶均可以利用備用憑據,使用 runas 運行程序、MMC 控制檯或“控制面板”項。
如果要在計算機上使用 Administrator 帳戶,對於 /user:,鍵入下列參數之一:
/user:AdministratorAccountName@ComputerName

/user:ComputerName/AdministratorAccountName

如果想以域管理員身份使用這個命令,鍵入下列參數之一:
/user:AdministratorAccountName@DomainName

/useromainName/AdministratorAccountName

runas 命令允許您運行程序 (*.exe)、保存的 MMC 控制檯 (*.msc)、程序和保存的 MMC 控制檯的快捷方式及“控制面板”項。作爲另一組(例如“Users”或“Power Users”組)的成員登錄到計算機時,可以以管理員的身份運行。
可以使用 runas 命令來啓動任何程序、MMC 控制器或“控制面板”項。只要提供適當的用戶帳戶和密碼信息,用戶帳戶就具有登錄到計算機的能力,並且程序、MMC 控制檯、“控制面板”項在系統中及對該用戶帳戶均可用.
runas 命令允許您管理其他域的服務器(運行工具的計算機和要管理的服務器在不同的域中)。
如果嘗試使用 runas 從網絡位置啓動程序、MMC 控制檯或“控制面板”項,可能會因爲用來連接網絡共享的憑據與用來啓動程序的憑據不同而失敗。後者的憑據可能無法訪問同一網絡共享。
有些項,例如“打印機”文件夾和桌面項,間接由 Windows 2000 打開,而不能使用 runas 命令啓動。
如果 runas 命令失敗,則可能是沒有運行 RunAs 服務或使用的用戶帳戶無效。要檢查 RunAs 服務的狀態,請在“計算機管理”中單擊“服務和應用程序”,然後單擊“服務”。要測試用戶帳戶,請嘗試使用該帳戶登錄合適的域。
範例
要在本地計算機上以管理員身份啓動 Windows 2000 命令提示行實例,請鍵入:

runas /user:localmachinename/administrator cmd
系統提示時,鍵入管理員密碼。

要使用名爲 companydomain/domainadmin 的域管理員帳戶啓動“計算機管理”管理單元實例,請鍵入:

runas /user:companydomain/domainadmin "mmc %windir%/system32/compmgmt.msc"
當提示時,鍵入帳戶密碼。

要使用名爲 domain.microsoft.com 的域中的域管理員帳戶 user 啓動“記事本”實例,請鍵入:

runas /user:[email protected] "notepad my_file.txt"
當提示時,鍵入帳戶密碼。

要啓動命令提示符行窗口、保存的 MMC 控制檯、控制面板項或管理其他地點服務器的程序的一個實例,請鍵入:

runas /netonly /user:domain/username "command"
domain/username 必須是有足夠權限管理服務器的用戶。當提示時,鍵入帳戶密碼。
Route
在本地 IP 路由表中顯示和修改條目。使用不帶參數的 route 可以顯示幫助。

語法
route [-f] [-p] [Command [Destination] [mask Netmask] [Gateway] [metric Metric]] [if Interface]]

參數
-f
清除所有不是主路由(網掩碼爲 255.255.255.255 的路由)、環回網絡路由(目標爲 127.0.0.0,網掩碼爲 255.255.255.0 的路由)或多播路由(目標爲 224.0.0.0,網掩碼爲 240.0.0.0 的路由)的條目的路由表。如果它與命令之一(例如 add、change 或 delete)結合使用,表會在運行命令之前清除。
-p
與 add 命令共同使用時,指定路由被添加到註冊表並在啓動 TCP/IP 協議的時候初始化 IP 路由表。默認情況下,啓動 TCP/IP 協議時不會保存添加的路由。與 print 命令一起使用時,則顯示永久路由列表。所有其它的命令都忽略此參數。永久路由存儲在註冊表中的位置是 HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Tcpip/Parameters/PersistentRoutes。
Command
指定要運行的命令。下表列出了有效的命令。 命令 目的
add 添加路由
change 更改現存路由
delete 刪除路由
print 打印路由

Destination
指定路由的網絡目標地址。目標地址可以是一個 IP 網絡地址(其中網絡地址的主機地址位設置爲 0),對於主機路由是 IP 地址,對於默認路由是 0.0.0.0。
mask subnetmask
指定與網絡目標地址相關聯的網掩碼(又稱之爲子網掩碼)。子網掩碼對於 IP 網絡地址可以是一適當的子網掩碼,對於主機路由是 255.255.255.255 ,對於默認路由是 0.0.0.0。如果忽略,則使用子網掩碼 255.255.255.255。定義路由時由於目標地址和子網掩碼之間的關係,目標地址不能比它對應的子網掩碼更爲詳細。換句話說,如果子網掩碼的一位是 0,則目標地址中的對應位就不能設置爲 1。
Gateway
指定超過由網絡目標和子網掩碼定義的可達到的地址集的前一個或下一個躍點 IP 地址。對於本地連接的子網路由,網關地址是分配給連接子網接口的 IP 地址。對於要經過一個或多個路由器纔可用到的遠程路由,網關地址是一個分配給相鄰路由器的、可直接達到的 IP 地址。
metric Metric
爲路由指定所需躍點數的整數值(範圍是 1 ~ 9999),它用來在路由表裏的多個路由中選擇與轉發包中的目標地址最爲匹配的路由。所選的路由具有最少的躍點數。躍點數能夠反映躍點的數量、路徑的速度、路徑可靠性、路徑吞吐量以及管理屬性。
if Interface
指定目標可以到達的接口的接口索引。使用 route print 命令可以顯示接口及其對應接口索引的列表。對於接口索引可以使用十進制或十六進制的值。對於十六進制值,要在十六進制數的前面加上 0x。忽略 if 參數時,接口由網關地址確定。
/?
在命令提示符顯示幫助。
註釋
路由表中 躍點數 一列的值較大是由於允許 TCP/IP 根據每個 LAN 接口的 IP 地址、子網掩碼和默認網關的配置自動確定路由表中路由的躍點數造成的。默認啓動的自動確定接口躍點數確定了每個接口的速度,調整了每個接口的路由躍點數,因此最快接口所創建的路由具有最低的躍點數。要刪除大躍點數,請在每個 LAN 連接的 TCP/IP 協議的高級屬性中禁用自動確定接口躍點數。
如果在 systemroot/System32/Drivers/Etc 文件夾的本地網絡文件中存在適當的條目,名稱可以用於 Destination。只要名稱可以通過“域名系統” (DNS) 查詢這樣的標準主機名解析技術分解爲 IP 地址,就可以將其用於 Gateway,DNS 查詢使用存儲在 systemroot/System32/Drivers/Etc 文件夾下的本地主機文件和 NetBIOS 名稱解析。
如果是 print 或 delete 命令,可以忽略 Gateway 參數,使用通配符來表示目標和網關。Destination 的值可以是由星號 (*) 指定的通配符。如果指定目標含有一個星號 (*) 或問號 (?),它被看作是通配符,只打印或刪除匹配的目標路由。星號代表任意一字符序列,問號代表任一字符。例如, 10.*.1, 192.168.*、 127.* 和 *224* 都是星號通配符的有效使用。
使用了無效的目標和子網掩碼(網掩碼)值的組合,會顯示“Route:bad gateway address netmask”錯誤消息。目標中有一位或多位設置爲 1,而其在子網掩碼中的對應位設置爲 0 時會發生這個錯誤。可以通過二進制表示法表示目標和子網掩碼來檢查這種情況。以二進制表示的子網掩碼包括表示目標網絡地址部分的一連串的 1 和表示目標主機地址部分的一連串的 0 兩個部分。查看目標以確定目標的主機地址部分(由子網掩碼所定義)是否有些位設置成了 1。
只有 Windows NT 4.0、Windows 2000、Windows Millennium Edition 和 Windows XP 的 route 命令支持 -p 參數。Windows 95 或 Windows 98 的 route 命令不支持該參數。
只有當網際協議 (TCP/IP) 協議在 網絡連接中安裝爲網絡適配器屬性的組件時,該命令纔可用。
範例
要顯示 IP 路由表的完整內容,請鍵入:

route print

要顯示 IP 路由表中以 10. 開始的路由,請鍵入:

route print 10.*

要添加默認網關地址爲 192.168.12.1 的默認路由,請鍵入:

route add 0.0.0.0 mask 0.0.0.0 192.168.12.1

要添加目標爲 10.41.0.0,子網掩碼爲 255.255.0.0,下一個躍點地址爲 10.27.0.1 的路由,請鍵入:

route add 10.41.0.0 mask 255.255.0.0 10.27.0.1

要添加目標爲 10.41.0.0,子網掩碼爲 255.255.0.0,下一個躍點地址爲 10.27.0.1 的永久路由,請鍵入:

route -p add 10.41.0.0 mask 255.255.0.0 10.27.0.1

要添加目標爲 10.41.0.0,子網掩碼爲 255.255.0.0,下一個躍點地址爲 10.27.0.1,躍點數爲 7 的路由,請鍵入:

route add 10.41.0.0 mask 255.255.0.0 10.27.0.1 metric 7

要添加目標爲 10.41.0.0,子網掩碼爲 255.255.0.0,下一個躍點地址爲 10.27.0.1,接口索引爲 0x3 的路由,請鍵入:

route add 10.41.0.0 mask 255.255.0.0 10.27.0.1 if 0x3

要刪除目標爲 10.41.0.0,子網掩碼爲 255.255.0.0 的路由,請鍵入:

route delete 10.41.0.0 mask 255.255.0.0

要刪除 IP 路由表中以 10. 開始的所有路由,請鍵入:

route delete 10.*

要將目標爲 10.41.0.0,子網掩碼爲 255.255.0.0 的路由的下一個躍點地址由 10.27.0.1 更改爲 10.27.0.25,請鍵入:

route change 10.41.0.0 mask 255.255.0.0 10.27.0.25

怎樣在windowsserver的cmd下更改ip地址■■■ -> Windows 2k/2003 Server
在命令行下更改ip地址

Windows2000是現在比較流行的操作系統,它的功能是很強大的,它甚至可以象Unix一樣在命令行下做很多的工作。下面一種在命令行下更改ip地址的方法,現介紹給大家(括號裏是一些註釋,黑體字是人工錄入的):

C:/>ipconfig (首先用ipconfig這個命令看一下更改之前的ip地址)

Windows 2000 IP Configuration

Ethernet adapter 本地連接:

Connection-specific DNS Suffix . :

IP Address. . . . . . . . . . . . : 10.1.1.94 (本地連接更改之前的ip)

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . : 10.1.1.254

C:/>netsh (進入設置模式)

netsh>interface

interface>ip

interface ip>set address "本地連接" static 10.1.1.111 255.255.255.0 10.1.1.254

interface ip>exit

上文中的set命令具體解釋如下:

set address - 設置指定的接口的 IP 地址和默認網關。

set dns - 設置 DNS 服務器模式和地址。

set wins - 設置 WINS 服務器模式和地址。

C:/>ipconfig (更改後再用ipconfig命令看一下,確認一下是否更改成功)

Windows 2000 IP Configuration

Ethernet adapter 本地連接:

Connection-specific DNS Suffix . :

IP Address. . . . . . . . . . . . : 10.1.1.111

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . : 10.1.1.254
命令一覽
.. - 移到上一層上下文級。
? - 顯示命令列表。
aaaa - 更改到 `aaaa' 上下文。
abort - 丟棄在脫機模式下所做的更改。
add - 將一個配置項添加到項目列表中。
alias - 添加一個別名
bye - 退出程序。
commit - 提交在脫機模式中所做的更改。
delete - 在項目列表上刪除一個配置項目。
dhcp - 更改到 `dhcp' 上下文。
dump - 顯示一個配置腳本。
exec - 運行一個腳本文件。
exit - 退出程序。
help - 顯示命令列表。
interface - 更改到 `interface' 上下文。
offline - 將當前模式設置成脫機。
online - 將當前模式設置成聯機。
popd - 從堆棧上打開一個上下文。
pushd - 將當前上下文放推入堆棧。
quit - 退出程序。
ras - 更改到 `ras' 上下文。
routing - 更改到 `routing' 上下文。
set - 更新配置設置。
show - 顯示信息
unalias - 刪除一個別名。
wins - 更改到 `wins' 上下文。
route 的命令
routing ip add/delete/set/show interface 在指定接口上添加、刪除、配置或顯示常規 IP 路由設置。
routing ip add/delete/set/show filter 在指定接口上添加、刪除、配置或顯示 IP 數據包篩選器。
routing ip add/delete/show boundary 在指定接口上添加、刪除或顯示多播邊界設置。
routing ip add/set ipiptunnel 添加或配置 IP 中的 IP 接口。
routing ip add/delete/set/show rtmroute 添加、配置或顯示不持續的路由表管理器路由。
routing ip add/delete/set/show persistentroute 添加、刪除、配置或顯示持續路由。
routing ip add/delete/set/show preferenceforprotocol 添加、刪除、配置或顯示路由協議的優先級。
routing ip add/delete/set/show scope 添加、刪除或顯示多播作用域。
routing ip set/show loglevel 配置或顯示全局 IP 記錄等級。
routing ip show helper 顯示 IP 的所有 Netsh 實用程序子環境。
routing ip show protocol 顯示所有正在運行的 IP 路由協議。
routing ip show mfe 顯示多播轉發項。
routing ip show mfestats 顯示多播轉發項統計。
routing ip show boundarystats 顯示 IP 多播邊界。
routing ip show rtmdestinations 顯示路由表管理器路由表中的目標。
routing ip show rtmroutes 顯示路由表管理器路由表中的路由。
routing ip nat set/show global 配置或顯示全局網絡地址轉換 (NAT) 設置。
routing ip nat add/delete/set/show interface 添加、刪除、配置或顯示指定接口的 NAT 設置。
routing ip nat add/delete addressrange 在 NAT 接口公用地址池中添加或刪除一個地址範圍。
routing ip nat add/delete addressmapping 添加或刪除 NAT 地址映射。
routing ip nat add/delete portmapping 添加或刪除 NAT 端口映射。
routing ip autodhcp set/show global 配置或顯示全局 DHCP 分配器參數。
routing ip autodhcp set/show interface 配置或顯示指定接口的 DHCP 分配器設置。
routing ip autodhcp add/delete exclusion 在 DHCP 分配器地址範圍中添加或刪除一個排除範圍。
routing ip dnsproxy set/show global 配置或顯示全局 DNS 代理參數。
routing ip dnsproxy set/show interface 配置或顯示指定接口的 DNS 代理參數。
routing ip igmp set/show global 配置或顯示 IGMP 全局設置。
routing ip igmp add/delete/set/show interface 在指定接口上添加、刪除、配置或顯示 IGMP。
routing ip igmp add/delete staticgroup 添加或刪除指定接口的靜態多播組。
routing ip igmp show grouptable 顯示 IGMP 主機組表。
routing ip igmp show ifstats 顯示每個接口的 IGMP 統計。
routing ip igmp show iftable 顯示每個接口的 IGMP 主機組。
routing ip igmp show proxygrouptable 顯示 IGMP 代理接口的 IGMP 組表。
routing ip igmp show rasgrouptable 顯示遠程訪問服務器所使用的 Internet 接口的組表。
routing ip ospf set/show global 配置或顯示全局 OSPF 設置。
routing ip ospf add/delete/set/show interface 在指定接口上添加、刪除、配置或顯示 OSPF。
routing ip ospf add/delete/set/show area 添加、刪除、配置或顯示 OSPF 區域。
routing ip ospf add/delete/show range 在指定的 OSPF 區域上添加、刪除、配置或顯示範圍。
routing ip ospf add/delete/set/show virtif 添加、刪除、配置或顯示 OSPF 虛擬接口。
routing ip ospf add/delete/show neighbor 添加、刪除、配置或顯示 OSPF 鄰居。
routing ip ospf add/delete/show protofilter 添加、刪除、配置或顯示 OSPF 外部路由的路由信息源。
routing ip ospf add/delete/show routefilter 添加、刪除、配置或顯示 OSPF 外部路由的路由篩選。
routing ip ospf show areastats 顯示 OSPF 區域統計。
routing ip ospf show lsdb 顯示 OSPF 鏈接狀態數據庫。
routing ip ospf show virtifstats 顯示 OSPF 虛擬鏈接統計。
routing ip relay set global 配置“DHCP 中繼代理程序”的全局設置。
routing ip relay add/delete/set interface 在指定接口上添加、刪除或配置“DHCP 中繼代理程序”設置。
routing ip relay add/delete dhcpserver 在 DHCP 服務器地址列表中添加或刪除 DHCP 服務器的 IP 地址。
routing ip relay show ifbinding 顯示接口的 IP 地址綁定。
routing ip relay show ifconfig 顯示每個接口的“DHCP 中繼代理程序”配置。
routing ip relay show ifstats 顯示每個接口的 DHCP 統計。
routing ip rip set/show global 配置 IP 的 RIP 全局設置。
routing ip rip add/delete/set/show interface 在指定接口上添加或配置 IP 的 RIP 設置。
routing ip rip add/delete peerfilter 添加或刪除 RIP 對等篩選器。
routing ip rip add/delete acceptfilter 在接受的路由列表中添加或刪除 RIP 路由篩選器。
routing ip rip add/delete announcefilter 在公佈的路由列表中添加或刪除 RIP 路由篩選器。
routing ip rip add/delete/show neighbor 添加或刪除 RIP 鄰居。
routing ip rip set/show flags 在指定接口上配置 IP RIP 高級設置。
routing ip rip show globalstats 顯示全局 RIP 參數。
routing ip rip show ifbinding 顯示接口的 IP 地址綁定。
routing ip rip show ifstats 顯示每個接口的 RIP 統計。
IPX netsh 路由命令
routing ipx add/set staticroute 在 IPX 路由表中添加或配置靜態 IPX 路由。
routing ipx add/set staticservice 在 SAP 服務表中添加或配置靜態 SAP 服務。
routing ipx add/set filter 在指定的接口上添加或配置 IPX 數據包篩選器。
routing ipx add/set interface 在請求撥號接口上啓用 IPX 路由,或在指定的接口上配置 IPX 設置。
routing ipx set global 配置全局 IPX 路由設置。
routing ipx rip add/set filter 添加和配置 RIP 路由篩選器。
routing ipx rip set global 配置全局 IPX 的 RIP 設置。
routing ipx rip set interface 在指定接口上配置 IPX 的 RIP 設置。
routing ipx sap add/set filter 添加或配置 SAP 服務篩選器。
routing ipx sap set global 配置全局 IPX 的 SAP 設置。
routing ipx sap set interface 在指定接口上配置 IPX 的 SAP 設置。
routing ipx netbios add nbname 將靜態 NETBIOS 名稱添加到 IPX NetBIOS 名稱表中。
routing ipx netbios set interface 在指定接口上配置基於 IPX 的 NetBIOS 設置。
WINS NetSh 命令
list 列出所有可用的 WINS 命令。
dump 將 WINS 服務器配置轉儲到命令輸出。
add name 在服務器上註冊名稱。詳細信息,請輸入 add name /?
add partner 向服務器添加複製夥伴。詳細信息,請輸入 add partner /?
add pngserver 添加當前服務器的 Persona Non Grata 服務器列表。詳細信息,請輸入 add pngserver /?
check database 檢查數據庫的一致性。詳細信息,請輸入 check database /?
check name 檢查一組 WINS 服務器的名稱記錄列表。詳細信息,請輸入 check name /?
check version 檢查版本號的一致性。詳細信息,請輸入 check version /?
delete name 從服務器數據庫中刪除已註冊的名稱。詳細信息,請輸入 delete name /?
delete partner 從複製夥伴列表中刪除複製夥伴。詳細信息,請輸入 delete partner /?
delete records 從服務器刪除或邏輯刪除所有記錄或一組記錄。詳細信息,請輸入 delete records /?
delete owners 刪除所有者列表及其記錄。詳細信息,請輸入 delete owners /?
delete pngserver 從列表中刪除所有的或選定的 Persona Non Grata 服務器。詳細信息,請輸入 delete pngserver /?
init backup 備份 WINS 數據庫。詳細信息,請輸入 init backup /?
init import 從 Lmhosts 文件導入數據。詳細信息,請輸入 init import /?
init pull 啓動“拉”觸發器,併發送給另一臺 WINS 服務器。詳細信息,請輸入 init pull /?
init pullrange 開始另一臺 WINS 服務器的一組記錄,並讀取該記錄。詳細信息,請輸入 init pullrange /?
init push 啓動“推”觸發器,併發送給另一臺 WINS 服務器。詳細信息,請輸入 init push /?
init replicate 用複製夥伴複製數據庫。詳細信息,請輸入 init replicate /?
init restore 從文件還原數據庫。詳細信息,請輸入 init restore /?
init scavenge 清除服務器的 WINS 數據庫。詳細信息,請輸入 init scavenge /?
init search 搜索服務器的 WINS 數據庫。詳細信息,請輸入 init search /?
reset statistics 重置服務器的統計信息。詳細信息,請輸入 reset statistics /?
set autopartnerconfig 設置服務器的自動複製夥伴配置信息。詳細信息,請輸入 set autopartnerconfig /?
set backuppath 設置服務器的備份參數。詳細信息,請輸入 set backuppath /?
set burstparam 設置服務器的突發處理參數。詳細信息,請輸入 set autopartnerconfig /?
set logparam 設置數據庫和事件日誌記錄選項。詳細信息,請輸入 set logparam /?
set migrateflag 設置服務器的遷移標誌。詳細信息,請輸入 set migrateflag /?
set namerecord 設置服務器的間隔和超時值。詳細信息,請輸入 set namerecord /?
set periodicdbchecking 設置服務器的定期數據庫檢查參數。詳細信息,請輸入 set periodicdbchecking /?
set pullpartnerconfig 設置指定的“拉”夥伴的配置參數。詳細信息,請輸入 set pullpartnerconfig /?
set pushpartnerconfig 設置指定的“推”夥伴的配置參數。詳細信息,請輸入 set pushpartnerconfig /?
set pullparam 設置服務器的默認“拉”參數。詳細信息,請輸入 set pullparam /?
set pushparam 設置服務器的默認“推”參數。詳細信息,請輸入 set pushparam /?
set replicateflag 設置服務器的複製標誌。詳細信息,請輸入 set replicateflag /?
set startversion 設置數據庫的開始版本 ID。詳細信息,請輸入 set startversion /?
show browser 顯示所有活動域主瀏覽器的 [1Bh] 記錄。詳細信息,請輸入 show browser /?
show database 顯示指定服務器的數據庫和記錄。詳細信息,請輸入 show database /?
show info 顯示配置信息。詳細信息,請輸入 show info /?
show name 顯示服務器中特定記錄的詳細信息。詳細信息,請輸入 show name /?
show partner 顯示服務器的“拉”或“推”(或“推拉”)夥伴。詳細信息,請輸入 show partner /?
show partnerproperties 顯示默認夥伴配置。詳細信息,請輸入 show partnerproperties /?
show pullpartnerconfig 顯示“拉”夥伴的配置信息。詳細信息,請輸入 show pullpartnerconfig /?
show pushpartnerconfig 顯示“推”夥伴的配置信息。詳細信息,請輸入 show pushpartnerconfig /?
show reccount 顯示指定服務器所擁有的記錄數量。詳細信息,請輸入 show reccount /?
show recbyversion 顯示指定服務器所擁有的記錄。詳細信息,請輸入 show recbyversion /?
show server 顯示當前選定的服務器。詳細信息,請輸入 show server /?
show statistics 顯示 WINS 服務器的統計信息。詳細信息,請輸入 show statistics /?
show version 顯示 WINS 服務器的當前版本計數器值。詳細信息,請輸入 show version /?
show versionmap 顯示所有者 ID 到“最大版本數”的映射。詳細信息,請輸入 show versionmap /?
Interface 命令
interface set/show interface 啓用、禁用、連接、斷開連接以及顯示請求撥號接口的配置。
interface set/show credentials 在請求撥號接口上配置或顯示用戶名、密碼和域名。
Win2000命令全集

accwiz.exe > Accessibility Wizard for walking you through setting up your machine for your mobility needs. 輔助工具嚮導

acsetups.exe > ACS setup DCOM server executable

actmovie.exe > Direct Show setup tool 直接顯示安裝工具

append.exe > Allows programs to open data in specified directories as if they were in the current directory. 允許程序打開制定目錄中的數據

arp.exe > NETWORK Display and modify IP - Hardware addresses 顯示和更改計算機的IP與硬件物理地址的對應列表

at.exe > AT is a scheduling utility also included with UNIX 計劃運行任務

atmadm.exe > Displays statistics for ATM call manager. ATM調用管理器統計

attrib.exe > Display and modify attributes for files and folders 顯示和更改文件和文件夾屬性

autochk.exe > Used to check and repair Windows File Systems 檢測修復文件系統

autoconv.exe > Automates the file system conversion during reboots 在啓動過程中自動轉化系統

autofmt.exe > Automates the file format process during reboots 在啓動過程中格式化進程

autolfn.exe > Used for formatting long file names 使用長文件名格式

bootok.exe > Boot acceptance application for registry

bootvrfy.exe > Bootvrfy.exe, a program included in Windows 2000 that notifies the system that startup was successful. Bootvrfy.exe can be run on a local or remote computer. 通報啓動成功
cacls.exe > Displays or modifies access control lists (ACLs) of files. 顯示和編輯ACL

calc.exe > Windows Calculators 計算器

cdplayer.exe > Windows CD Player CD播放器

change.exe > Change { User | Port | Logon } 與終端服務器相關的查詢

charmap.exe > Character Map 字符映射表

chglogon.exe > Same as using "Change Logon" 啓動或停用會話記錄

chgport.exe > Same as using "Change Port" 改變端口(終端服務)

chgusr.exe > Same as using "Change User" 改變用戶(終端服務)

chkdsk.exe > Check the hard disk for errors similar to Scandisk 3 Stages must specify a Drive Letter 磁盤檢測程序

chkntfs.exe > Same as using chkdsk but for NTFS NTFS磁盤檢測程序

cidaemon.exe > Component of Ci Filer Service 組成Ci文檔服務

cipher.exe > Displays or alters the encryption of directories [files] on NTFS partitions. 在NTFS上顯示或改變加密的文件或目錄

cisvc.exe > Content Index -- It's the content indexing service for I 索引內容

ckcnv.exe > Cookie Convertor 變換Cookie

cleanmgr.exe > Disk Cleanup, popular with Windows 98 磁盤清理

cliconfg.exe > SQL Server Client Network Utility SQL客戶網絡工具

clipbrd.exe > Clipboard viewer for Local will allow you to connect to other clipboards 剪貼簿查看器

clipsrv.exe > Start the clipboard Server 運行Clipboard服務

clspack.exe > CLSPACK used to create a file listing of system packages 建立系統文件列表清單

cluster.exe > Display a cluster in a domain 顯示域的集羣

_cmd_.exe > Famous command prompt 沒什麼好說的!

cmdl32.exe > Connection Manager Auto-Download 自動下載連接管理

cmmgr32.exe > Connection Manager 連接管理器

cmmon32.exe > Connection Manager Monitor 連接管理器監視

cmstp.exe > Connection Manager Profile Manager 連接管理器配置文件安裝程序

comclust.exe > about cluster server 集羣

comp.exe > ComClust Add, Remove, or Join a cluster. 比較兩個文件和文件集的內容*

compact.exe > Displays or alters the compression of files on NTFS partitions. 顯示或改變NTFS分區上文件的壓縮狀態

conime.exe > Console IME IME控制檯

control.exe > Starts the control panel 控制面板

convert.exe > Convert File System to NTFS 轉換文件系統到NTFS

convlog.exe > Converts MS IIS log files 轉換IIS日誌文件格式到NCSA格式

cprofile.exe > Copy profiles 轉換顯示模式

cscript.exe > MS Windows Scripts Host Version 5.1 較本宿主版本

csrss.exe > Client Server Runtime Process 客戶服務器Runtime進程

csvde.exe > Comma Separated Variable Import/Export Utility 日至格式轉換程序

dbgtrace.exe > 和Terminal Server相關

dcomcnfg.exe > Display the current DCOM configuration. DCOM配置屬性

dcphelp.exe > ?

dcpromo.exe > Promote a domain controller to ADSI AD安裝嚮導

ddeshare.exe > Display DDE shares on local or remote computer DDE共享

ddmprxy.exe >

debug.exe > Runs Debug, a program testing and editing tool. 就是DEBUG啦!

dfrgfat.exe > Defrag FAT file system FAT分區磁盤碎片整理程序

dfrgntfs.exe > Defrag NTFS file system NTFS分區磁盤碎片整理程序

dfs_cmd_.exe > configures a Dfs tree 配置一個DFS樹

dfsinit.exe > Distributed File System Initialization 分佈式文件系統初始化

dfssvc.exe > Distributed File System Server


-----------------------------------------
dfssvc.exe > Distributed File System Server 分佈式文件系統服務器

diantz.exe > MS Cabinet Maker 製作CAB文件

diskperf.exe > Starts physical Disk Performance counters 磁盤性能計數器

dllhost.exe > dllhost is used on all versions of Windows 2000. dllhost is the hedost process for all COM+ applications. 所有COM+應用軟件的主進程

dllhst3g.exe >

dmadmin.exe > Disk Manager Service 磁盤管理服務

dmremote.exe > Part of disk management 磁盤管理服務的一部分

dns.exe > DNS Applications DNS

doskey.exe > recalls Windows command lines and creates macros 命令行創建宏

dosx.exe > DOS Extender DOS擴展

dplaysvr.exe > Direct Play Helper 直接運行幫助

drwatson.exe > Dr Watson for 2000 Fault Detector 華生醫生錯誤檢測

drwtsn32.exe > Dr Watson for 2000 viewer and configuration manager 華生醫生顯示和配置管理

dtcsetup.exe > Installs MDTC

dvdplay.exe > Windows 2000 DVD player DVD播放

dxdiag.exe > Direct-X Diagnostics Direct-X診斷工具

edlin.exe > line-oriented text editor. 命令行的文本編輯器(歷史悠久啊!)
edlin.exe > line-oriented text editor. 命令行的文本編輯器(歷史悠久啊!)

esentutl.exe > MS Database Utility MS數據庫工具

eudcedit.exe > Private character editor Ture Type造字程序

eventvwr.exe > Windows 2000 Event Viewer 事件查看器

evnt_cmd_.exe > Event to trap translator; Configuration tool

evntwin.exe > Event to trap translator setup

exe2bin.exe > Converts EXE to binary format 轉換EXE文件到二進制

expand.exe > Expand Files that have been compressed 解壓縮

extrac32.exe > CAB File extraction utility 解CAB工具

fastopen.exe > Fastopen tracks the location of files on a hard disk and stores the information in memory for fast access. 快速訪問在內存中的硬盤文件

faxcover.exe > Fax Cover page editor 傳真封面編輯

faxqueue.exe > Display Fax Queue 顯示傳真隊列

faxsend.exe > Fax Wizard for sending faxes 發送傳真嚮導

faxsvc.exe > Starts fax server 啓動傳真服務

fc.exe > Compares two files or sets of files and their differences 比較兩個文件的不同

find.exe > Searches for a text string in file or files 查找文件中的文本行

findstr.exe > Searches for strings in files 查找文件中的行

finger.exe > Fingers a user and displays statistics on that user Finger一個用戶並顯示出統計結果

fixmapi.exe > Fix mapi files 修復MAPI文件

flattemp.exe > Enable or disable temporally directories 允許或者禁用臨時文件目錄

fontview.exe > Display fonts in a font file 顯示字體文件中的字體

forcedos.exe > Forces a file to start in dos mode. 強制文件在DOS模式下運行

freecell.exe > Popular Windows Game 空當接龍

ftp.exe > File Transfer Protocol used to transfer files over a network connection 就是FTP了

gdi.exe > Graphic Device Interface 圖形界面驅動

grovel.exe >

grpconv.exe > Program Manager Group Convertor 轉換程序管理員組

help.exe > displays help for Windows 2000 commands 顯示幫助

hostname.exe > Display hostname for machine. 顯示機器的Hostname

ie4uinit.exe > IE5 User Install tool IE5用戶安裝工具

ieshwiz.exe > Customize folder wizard 自定義文件夾嚮導

iexpress.exe > Create and setup packages for install 穿件安裝包

iisreset.exe > Restart IIS Admin Service 重啓IIS服務

internat.exe > Keyboard Language Indicator Applet 鍵盤語言指示器

ipconfig.exe > Windows 2000 IP configuration. 察看IP配置

ipsecmon.exe > IP Security Monitor IP安全監視器

ipxroute.exe > IPX Routing and Source Routing Control Program IPX路由和源路由控制程序

irftp.exe > Setup FTP for wireless communication 無線連接

ismserv.exe > Intersite messaging Service 安裝或者刪除Service Control Manager中的服務

jdbgmgr.exe > Microsoft debugger for java 4 Java4的調試器

jetconv.exe > Convert a Jet Engine Database 轉換Jet Engine數據庫

jetpack.exe > Compact Jet Database. 壓縮Jet數據庫

jview.exe > Command-line loader for Java Java的命令行裝載者

krnl386.exe > Core Component for Windows 2000 2000的核心組件

label.exe > Change label for drives 改變驅動器的卷標

lcwiz.exe > License Compliance Wizard for local or remote systems. 許可證符合嚮導

ldifde.exe > LDIF cmd line manager LDIF目錄交換命令行管理

licmgr.exe > Terminal Server License Manager 終端服務許可協議管理

lights.exe > display connection status lights 顯示連接狀況

llsmgr.exe > Windows 2000 License Manager 2000許可協議管理

llssrv.exe > Start the license Server 啓動許可協議服務器

lnkstub.exe >

locator.exe > RPC Locator 遠程定位

lodctr.exe > Load perfmon counters 調用性能計數

logoff.exe > Log current user off. 註銷用戶

lpq.exe > Displays status of a remote LPD queue 顯示遠端的LPD打印隊列的狀態,顯示被送到基於Unix的服務器的打印任務

lpr.exe > Send a print job to a network printer. 重定向打印任務到網絡中的打印機。通常用於Unix客戶打印機將打印任務發送給連接了打印設備的NT的打印機服務器。

lsass.exe > LSA Executable and Server DLL 運行LSA和Server的DLL

lserver.exe > Specifies the new DNS domain for the default server 指定默認Server新的DNS域

macfile.exe > Used for managing MACFILES 管理MACFILES

magnify.exe > Used to magnify the current screen 放大鏡

makecab.exe > MS Cabinet Maker 製作CAB文件

mdm.exe > Machine Debug Manager 機器調試管理

mem.exe > Display current Memory stats 顯示內存狀態

migpwd.exe > Migrate passwords. 遷移密碼

mmc.exe > Microsoft Management Console 控制檯

mnmsrvc.exe > Netmeeting Remote Desktop Sharing NetMeeting遠程桌面共享

mobsync.exe > Manage Synchronization. 同步目錄管理器

mountvol.exe > Creates, deletes, or lists a volume mount point. 創建、刪除或列出卷的裝入點。

mplay32.exe > MS Media Player 媒體播放器

mpnotify.exe > Multiple Provider Notification application 多提供者通知應用程序

mq1sync.exe >

mqbkup.exe > MS Message Queue Backup and Restore Utility 信息隊列備份和恢復工具

mqexchng.exe > MSMQ Exchange Connector Setup 信息隊列交換連接設置

mqmig.exe > MSMQ Migration Utility 信息隊列遷移工具

mqsvc.exe > ?

mrinfo.exe > Multicast routing using SNMP 使用SNMP多點傳送路由

mscdexnt.exe > Installs MSCD (MS CD Extensions) 安裝MSCD

msdtc.exe > Dynamic Transaction Controller Console 動態事務處理控制檯

msg.exe > Send a message to a user local or remote. 發送消息到本地或遠程客戶

mshta.exe > HTML Application HOST HTML應用程序主機

msiexec.exe > Starts Windows Installer Program 開始Windows安裝程序

mspaint.exe > Microsoft Paint 畫板

msswchx.exe >

mstask.exe > Task Schedule Program 任務計劃表程序

mstinit.exe > Task scheduler setup 任務計劃表安裝

narrator.exe > Program will allow you to have a narrator for reading. Microsoft講述人

nbtstat.exe > Displays protocol stats and current TCP/IP connections using NBT 使用 NBT(TCP/IP 上的 NetBIOS)顯示協議統計和當前 TCP/IP 連接。

nddeapir.exe > NDDE API Server side NDDE API服務器端

net.exe > Net Utility 詳細用法看/?

net1.exe > Net Utility updated version from MS Net的升級版

netdde.exe > Network DDE will install itself into the background 安裝自己到後臺

netsh.exe > Creates a shell for network information 用於配置和監控 Windows 2000 命令行腳本接口。

netstat.exe > Displays current connections. 顯示協議統計和當前的 TCP/IP 網絡連接。

nlsfunc.exe > Loads country-specific information 加載特定國家(地區)的信息。Windows 2000 和 MS-DOS 子系統不使用該命令。接受該命令只是爲了與 MS-DOS 文件兼容。

notepad.exe > Opens Windows 2000 Notepad 記事本

nslookup.exe > Displays information for DNS 該診斷工具顯示來自域名系統 (DNS) 名稱服務器的信息。

ntbackup.exe > Opens the NT Backup Utility 備份和故障修復工具

ntbooks.exe > Starts Windows Help Utility 幫助

ntdsutil.exe > Performs DB maintenance of the ADSI 完成ADSI的DB的維護

ntfrs.exe > NT File Replication Service NT文件複製服務

ntfrsupg.exe >

ntkrnlpa.exe > Kernel patch 核心補丁

ntoskrnl.exe > Core NT Kernel KT的核心

ntsd.exe >

ntvdm.exe > Simulates a 16-bit Windows environment 模擬16位Windows環境

nw16.exe > Netware Redirector NetWare轉向器

nwscript.exe > runs netware scripts 運行Netware腳本

odbcad32.exe > ODBC 32-bit Administrator 32位ODBC管理

odbcconf.exe > Configure ODBC driver's and data source's from command line 命令行配置ODBC驅動和數據源

os2.exe > An OS/2 Warp Server (os2 /o) OS/2

os2srv.exe > An OS/2 Warp Server OS/2

os2ss.exe > An OS/2 Warp Server OS/2

osk.exe > On Screen Keyboard 屏幕鍵盤

packager.exe > Windows 2000 Packager Manager 對象包裝程序

pathping.exe > Combination of Ping and Tracert 包含Ping和Tracert的程序

pax.exe > is a POSIX program and path names used as arguments must be specified in POSIX format. Use "//C/Users/Default" instead of "C:/USERS/DEFAULT." 啓動便攜式存檔互換 (Pax) 實用程序

pentnt.exe > Used to check the Pentium for the floating point division error. 檢查Pentium的浮點錯誤

perfmon.exe > Starts Windows Performance Monitor 性能監視器

ping.exe > Packet Internet Groper 驗證與遠程計算機的連接

posix.exe > Used for backward compatibility with Unix 用於兼容Unix

print.exe > Cmd line used to print files 打印文本文件或顯示打印隊列的內容。

progman.exe > Program manager 程序管理器

proquota.exe > Profile quota program

psxss.exe > POSIX Subsystem Application Posix子系統應用程序

qappsrv.exe > Displays the available application terminal servers on the network
在網絡上顯示終端服務器可用的程序

qprocess.exe > Display information about processes local or remote 在本地或遠程顯示進程的信息(需終端服務)

query.exe > Query TERMSERVER user process and sessions 查詢進程和對話

quser.exe > Display information about a user logged on 顯示用戶登陸的信息(需終端服務)

qwinsta.exe > Display information about Terminal Sessions. 顯示終端服務的信息

rasadmin.exe > Start the remote access admin service 啓動遠程訪問服務

rasautou.exe > Creates a RAS connection 建立一個RAS連接

rasdial.exe > Dial a connection 撥號連接

rasphone.exe > Starts a RAS connection 運行RAS連接

rcp.exe > Copies a file from and to a RCP service. 在 Windows 2000 計算機和運行遠程外殼端口監控程序 rshd 的系統之間複製文件

rdpclip.exe > RdpClip allows you to copy and paste files between a terminal session and client console session. 再終端和本地複製和粘貼文件

recover.exe > Recovers readable information from a bad or defective disk 從壞的或有缺陷的磁盤中恢復可讀取的信息。

redir.exe > Starts the redirector service 運行重定向服務

regedt32.exe > 32-bit register service 32位註冊服務

regini.exe > modify registry permissions from within a script 用腳本修改註冊許可

register.exe > Register a program so it can have special execution characteristics. 註冊包含特殊運行字符的程序

regsvc.exe >

regsvr32.exe > Registers and unregister's dll's. As to how and where it register's them I dont know. 註冊和反註冊DLL

regtrace.exe > Options to tune debug options for applications failing to dump trace statements
Trace 設置
regwiz.exe > Registration Wizard 註冊嚮導

remrras.exe >

replace.exe > Replace files 用源目錄中的同名文件替換目標目錄中的文件。

reset.exe > Reset an active section 重置活動部分

rexec.exe > Runs commands on remote hosts running the REXEC service. 在運行 REXEC 服務的遠程計算機上運行命令。rexec 命令在執行指定命令前,驗證遠程計算機上的用戶名,只有安裝了 TCP/IP 協議後纔可以使用該命令。

risetup.exe > Starts the Remote Installation Service Wizard. 運行遠程安裝嚮導服務

route.exe > display or edit the current routing tables. 控制網絡路由表

routemon.exe > no longer supported 不再支持了!

router.exe > Router software that runs either on a dedicated DOS or on an OS/2 system. Route軟件在 DOS或者是OS/2系統

rsh.exe > Runs commands on remote hosts running the RSH service 在運行 RSH 服務的遠程計算機上運行命令

rsm.exe > Mounts and configures remote system media 配置遠程系統媒體

rsnotify.exe > Remote storage notification recall 遠程存儲通知回顯

rsvp.exe > Resource reservation protocol 源預約協議

runas.exe > RUN a program as another user 允許用戶用其他權限運行指定的工具和程序

rundll32.exe > Launches a 32-bit dll program 啓動32位DLL程序

runonce.exe > Causes a program to run during startup 運行程序再開始菜單中

rwinsta.exe > Reset the session subsystem hardware and software to known initial values 重置會話子系統硬件和軟件到最初的值

savedump.exe > Does not write to e:/winnt/user.dmp 不寫入User.dmp中

scardsvr.exe > Smart Card resource management server 子能卡資源管理服務器

schupgr.exe > It will read the schema update files (.ldf files) and upgrade the schema. (part of ADSI) 讀取計劃更新文件和更新計劃

secedit.exe > Starts Security Editor help 自動安全性配置管理

services.exe > Controls all the services 控制所有服務

sethc.exe > Set High Contrast - changes colours and display mode Logoff to set it back to normal 設置高對比

setreg.exe > Shows the Software Publishing State Key Values 顯示軟件發佈的國家語言

setup.exe > GUI box prompts you to goto control panel to configure system components 安裝程序(轉到控制面板)

setver.exe > Set Version for Files 設置 MS-DOS 子系統向程序報告的 MS-DOS 版本號

sfc.exe > System File Checker test and check system files for integrity 系統文件檢查

sfmprint.exe > Print Services for Macintosh 打印Macintosh服務

sfmpsexe.exe >

sfmsvc.exe >

shadow.exe > Monitor another Terminal Services session. 監控另外一臺中端服務器會話

share.exe > Windows 2000 和 MS-DOS 子系統不使用該命令。接受該命令只是爲了與 MS-DOS 文件兼容

shmgrate.exe >

shrpubw.exe > Create and Share folders 建立和共享文件夾

sigverif.exe > File Signature Verification 文件簽名驗證

skeys.exe > Serial Keys utility 序列號製作工具

smlogsvc.exe > Performance Logs and Alerts 性能日誌和警報

smss.exe >

sndrec32.exe > starts the Windows Sound Recorder 錄音機

sndvol32.exe > Display the current volume information 顯示聲音控制信息

snmp.exe > Simple Network Management Protocol used for Network Mangement 簡單網絡管理協議

snmptrap.exe > Utility used with SNMP SNMP工具

sol.exe > Windows Solitaire Game 紙牌

sort.exe > Compares files and Folders 讀取輸入、排序數據並將結果寫到屏幕、文件和其他設備上

SPOOLSV.EXE > Part of the spooler service for printing 打印池服務的一部分

sprestrt.exe >

srvmgr.exe > Starts the Windows Server Manager 服務器管理器

stimon.exe > WDM StillImage- > Monitor

stisvc.exe > WDM StillImage- > Service

subst.exe > Associates a path with a drive letter 將路徑與驅動器盤符關聯

svchost.exe > Svchost.exe is a generic host process name for services that are run from dynamic-link libraries (DLLs). DLL得主進程

syncapp.exe > Creates Windows Briefcase. 創建Windows文件包

sysedit.exe > Opens Editor for 4 system files 系統配置編輯器

syskey.exe > Encrypt and secure system database NT賬號數據庫按羣工具

sysocmgr.exe > Windows 2000 Setup 2000安裝程序

systray.exe > Starts the systray in the lower right corner. 在低權限運行systray

taskman.exe > Task Manager 任務管理器

taskmgr.exe > Starts the Windows 2000 Task Manager 任務管理器

tcmsetup.exe > telephony client wizard 電話服務客戶安裝

tcpsvcs.exe > TCP Services TCP服務

.exe > Telnet Utility used to connect to Telnet Server

termsrv.exe > Terminal Server 終端服務

tftp.exe > Trivial FTP 將文件傳輸到正在運行 TFTP 服務的遠程計算機或從正在運行 TFTP 服務的遠程計算機傳輸文件

tftpd.exe > Trivial FTP Daemon

themes.exe > Change Windows Themes 桌面主題

tlntadmn.exe > Telnet Server Administrator Telnet服務管理

tlntsess.exe > Display the current Telnet Sessions 顯示目前的Telnet會話

tlntsvr.exe > Start the Telnet Server 開始Telnet服務

tracert.exe > Trace a route to display paths 該診斷實用程序將包含不同生存時間 (TTL) 值的 Internet 控制消息協議 (ICMP) 回顯數據包發送到目標,以決定到達目標採用的路由

tsadmin.exe > Terminal Server Administrator 終端服務管理器

tscon.exe > Attaches a user session to a terminal session. 粘貼用戶會話到終端對話

tsdiscon.exe > Disconnect a user from a terminal session 斷開終端服務的用戶

tskill.exe > Kill a Terminal server process 殺掉終端服務

tsprof.exe > Used with Terminal Server to query results. 用終端服務得出查詢結果

tsshutdn.exe > Shutdown the system 關閉系統

unlodctr.exe > Part of performance monitoring 性能監視器的一部分

upg351db.exe > Upgrade a jet database 升級Jet數據庫

ups.exe > UPS service UPS服務

user.exe > Core Windows Service Windows核心服務

userinit.exe > Part of the winlogon process Winlogon進程的一部分

usrmgr.exe > Start the windows user manager for domains 域用戶管理器

utilman.exe > This tool enables an administrator to designate which computers automatically open accessibility tools when Windows 2000 starts. 指定2000啓動時自動打開那臺機器

verifier.exe > Driver Verifier Manager Driver Verifier Manager

vwipxspx.exe > Loads IPX/SPX VDM 調用IPX/SPX VDM

w32tm.exe > Windows Time Server 時間服務器

wextract.exe > Used to extract windows files 解壓縮Windows文件

winchat.exe > Opens Windows Chat 打開Windows聊天

winhlp32.exe > Starts the Windows Help System 運行幫助系統

winlogon.exe > Used as part of the logon process. Logon進程的一部分

winmine.exe > windows Game 挖地雷

winmsd.exe > Windows Diagnostic utility 系統信息

wins.exe > Wins Service Wins服務

winspool.exe > Print Routing 打印路由

winver.exe > Displays the current version of Windows 顯示Windows版本

wizmgr.exe > Starts Windows Administration Wizards Windows管理嚮導

wjview.exe > Command line loader for Java 命令行調用Java

wowdeb.exe > . For starters, the 32-bit APIs require that the WOWDEB.EXE task runs in the target debugee's VM 啓動時,32位API需要

wowexec.exe > For running Windows over Windows Applications 在Windows應用程序上運行Windows

wpnpinst.exe > ?

write.exe > Starts MS Write Program 寫字板

wscript.exe > Windows Scripting Utility 腳本工具

wupdmgr.exe > Starts the Windows update Wizard (Internet) 運行Windows升級嚮導

xcopy.exe > Used to copy directories 複製文件和目錄,包括子目錄

@DRL

打包下載 -下載2-網絡經典命令行.rar
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章