CMD 命令大全

CMD命令大全
A開頭
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 使用長文件名格式

B開頭
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. 通報啓動成功

C開頭
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 日至格式轉換程序
D開頭
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 分佈式文件系統服務器
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 華生醫生錯誤檢測

dtcsetup.exe > Installs MDTC
dvdplay.exe > Windows 2000 DVD player DVD播放
dxdiag.exe > Direct-X Diagnostics Direct-X診斷工具
E開頭
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工具
F開頭

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了
G開頭

gdi.exe > Graphic Device Interface 圖形界面驅動
grovel.exe >
grpconv.exe > Program Manager Group Convertor 轉換程序管理員組
[bH開頭

help.exe > displays help for Windows 2000 commands 顯示幫助
hostname.exe > Display hostname for machine. 顯示機器的Hostname
I開頭

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中的服務
J開頭
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的命令行裝載者
K開頭

krnl386.exe > Core Component for Windows 2000 2000的核心組件
L開頭
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許可協議管理
ll***v.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 "CUSERS\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 ewinnt\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 複製文件和目錄,包括子目錄
 
 

必須掌握的八個DOS命令!
一,ping   
  它是用來檢查網絡是否通暢或者網絡連接速度的命令。作爲一個生活在網絡上的管理員或者***來說,ping命令是第一個必須掌握的DOS命令,它所利用的原理是這樣的:網絡上的機器都有唯一確定的IP地址,我們給目標IP地址發送一個數據包,對方就要返回一個同樣大小的數據包,根據返回的數據包我們可以確定目標主機的存在,可以初步判斷目標主機的*作系統等。下面就來看看它的一些常用的*作。先看看幫助吧,在DOS窗口中鍵入:ping /? 回車,。所示的幫助畫面。在此,我們只掌握一些基本的很有用的參數就可以了(下同)。   
  -t 表示將不間斷向目標IP發送數據包,直到我們強迫其停止。試想,如果你使用100M的寬帶接入,而目標IP是56K的小貓,那麼要不了多久,目標IP就因爲承受不了這麼多的數據而掉線,呵呵,一次***就這麼簡單的實現了。   
  -l 定義發送數據包的大小,默認爲32字節,我們利用它可以最大定義到65500字節。結合上面介紹的-t參數一起使用,會有更好的效果哦。   
  -n 定義向目標IP發送數據包的次數,默認爲3次。如果網絡速度比較慢,3次對我們來說也浪費了不少時間,因爲現在我們的目的僅僅是判斷目標IP是否存在,那麼就定義爲一次吧。   
  說明一下,如果-t 參數和 -n參數一起使用,ping命令就以放在後面的參數爲標準,比如“ping IP -t -n 3”,雖然使用了-t參數,但並不是一直ping下去,而是隻ping 3次。另外,ping命令不一定非得ping IP,也可以直接ping主機域名,這樣就可以得到主機的IP。   
  下面我們舉個例子來說明一下具體用法。   
  這裏time=2表示從發出數據包到接受到返回數據包所用的時間是2秒,從這裏可以判斷網絡連接速度的大小 。從TTL的返回值可以初步判斷被ping主機的*作系統,之所以說“初步判斷”是因爲這個值是可以修改的。這裏TTL=32表示*作系統可能是win98。
  (小知識:如果TTL=128,則表示目標主機可能是Win2000;如果TTL=250,則目標主機可能是Unix)
  至於利用ping命令可以快速查找局域網故障,可以快速搜索最快的QQ服務器,可以對別人進行ping***……這些就靠大家自己發揮了。   
  二,nbtstat   
  該命令使用TCP/IP上的NetBIOS顯示協議統計和當前TCP/IP連接,使用這個命令你可以得到遠程主機的NETBIOS信息,比如用戶名、所屬的工作組、網卡的MAC地址等。在此我們就有必要了解幾個基本的參數。   
  -a 使用這個參數,只要你知道了遠程主機的機器名稱,就可以得到它的NETBIOS信息(下同)。   
  -A 這個參數也可以得到遠程主機的NETBIOS信息,但需要你知道它的IP。
  -n 列出本地機器的NETBIOS信息。   
  當得到了對方的IP或者機器名的時候,就可以使用nbtstat命令來進一步得到對方的信息了,這又增加了我們***的保險係數。   
  三,netstat
  這是一個用來查看網絡狀態的命令,*作簡便功能強大。   
  -a 查看本地機器的所有開放端口,可以有效發現和預防***,可以知道機器所開的服務等信息,如圖4。   
  這裏可以看出本地機器開放有FTP服務、Telnet服務、郵件服務、WEB服務等。用法:netstat -a IP。
  -r 列出當前的路由信息,告訴我們本地機器的網關、子網掩碼等信息。用法:netstat -r IP。
四,tracert
  跟蹤路由信息,使用此命令可以查出數據從本地機器傳輸到目標主機所經過的所有途徑,這對我們瞭解網絡佈局和結構很有幫助。如圖5。   
  這裏說明數據從本地機器傳輸到192.168.0.1的機器上,中間沒有經過任何中轉,說明這兩臺機器是在同一段局域網內。用法:tracert IP。   
  五,net   
  這個命令是網絡命令中最重要的一個,必須透徹掌握它的每一個子命令的用法,因爲它的功能實在是太強大了,這簡直就是微軟爲我們提供的最好的***工具。首先讓我們來看一看它都有那些子命令,鍵入net /?回車如圖6。
  在這裏,我們重點掌握幾個***常用的子命令。   
  net view   
  使用此命令查看遠程主機的所以共享資源。命令格式爲net view \\IP。  
  net use
  把遠程主機的某個共享資源影射爲本地盤符,圖形界面方便使用,呵呵。命令格式爲net use x: \\IP\sharename。上面一個表示把192.168.0.5IP的共享名爲magic的目錄影射爲本地的Z盤。下面表示和192.168.0.7建立IPC$連接(net use \\IP\IPC$ "password" /user:"name"),   
  建立了IPC$連接後,呵呵,就可以上傳文件了:copy nc.exe \\192.168.0.7\admin$,表示把本地目錄下的nc.exe傳到遠程主機,結合後面要介紹到的其他DOS命令就可以實現***了。   
  net start
  使用它來啓動遠程主機上的服務。當你和遠程主機建立連接後,如果發現它的什麼服務沒有啓動,而你又想利用此服務怎麼辦?就使用這個命令來啓動吧。用法:net start servername,如圖9,成功啓動了telnet服務。   
  net stop
  ***後發現遠程主機的某個服務礙手礙腳,怎麼辦?利用這個命令停掉就ok了,用法和net start同。   
  net user
  查看和帳戶有關的情況,包括新建帳戶、刪除帳戶、查看特定帳戶、激活帳戶、帳戶禁用等。這對我們***是很有利的,最重要的,它爲我們克隆帳戶提供了前提。鍵入不帶參數的net user,可以查看所有用戶,包括已經禁用的。下面分別講解。
  1,net user abcd 1234 /add,新建一個用戶名爲abcd,密碼爲1234的帳戶,默認爲user組成員。
  2,net user abcd /del,將用戶名爲abcd的用戶刪除。
  3,net user abcd /active:no,將用戶名爲abcd的用戶禁用。
  4,net user abcd /active:yes,激活用戶名爲abcd的用戶。
  5,net user abcd,查看用戶名爲abcd的用戶的情況  
  net localgroup
  查看所有和用戶組有關的信息和進行相關*作。鍵入不帶參數的net localgroup即列出當前所有的用戶組。在***過程中,我們一般利用它來把某個帳戶提升爲administrator組帳戶,這樣我們利用這個帳戶就可以控制整個遠程主機了。用法:net localgroup groupname username /add。   
  現在我們把剛纔新建的用戶abcd加到administrator組裏去了,這時候abcd用戶已經是超級管理員了,呵呵,你可以再使用net user abcd來查看他的狀態,和圖10進行比較就可以看出來。但這樣太明顯了,網管一看用戶情況就能漏出破綻,所以這種方法只能對付菜鳥網管,但我們還得知道。現在的手段都是利用其他工具和手段克隆一個讓網管看不出來的超級管理員,這是後話。有興趣的朋友可以參照《***防線》第30期上的《由淺入深解析隆帳戶》一文。   
  net time
  這個命令可以查看遠程主機當前的時間。如果你的目標只是進入到遠程主機裏面,那麼也許就用不到這個命令了。但簡單的***成功了,難道只是看看嗎?我們需要進一步***。這就連遠程主機當前的時間都需要知道,因爲利用時間和其他手段(後面會講到)可以實現某個命令和程序的定時啓動,爲我們進一步***打好基礎。用法:net time \\IP。   
  六,at   
  這個命令的作用是安排在特定日期或時間執行某個特定的命令和程序(知道net time的重要了吧?)。當我們知道了遠程主機的當前時間,就可以利用此命令讓其在以後的某個時間(比如2分鐘後)執行某個程序和命令。用法:at time command \\computer。   
  表示在6點55分時,讓名稱爲a-01的計算機開啓telnet服務(這裏net start telnet即爲開啓telnet服務的命令)。   
七,ftp   
  大家對這個命令應該比較熟悉了吧?網絡上開放的ftp的主機很多,其中很大一部分是匿名的,也就是說任何人都可以登陸上去。現在如果你掃到了一臺開放ftp服務的主機(一般都是開了21端口的機器),如果你還不會使用ftp的命令怎麼辦?下面就給出基本的ftp命令使用方法。
  首先在命令行鍵入ftp回車,出現ftp的提示符,這時候可以鍵入“help”來查看幫助(任何DOS命令都可以使用此方法查看其幫助)。   
  大家可能看到了,這麼多命令該怎麼用?其實也用不到那麼多,掌握幾個基本的就夠了。   
  首先是登陸過程,這就要用到open了,直接在ftp的提示符下輸入“open 主機IP ftp端口”回車即可,一般端口默認都是21,可以不寫。接着就是輸入合法的用戶名和密碼進行登陸了,這裏以匿名ftp爲例介紹。   
  用戶名和密碼都是ftp,密碼是不顯示的。當提示**** logged in時,就說明登陸成功。這裏因爲是匿名登陸,所以用戶顯示爲Anonymous。   
  接下來就要介紹具體命令的使用方法了。   
  dir 跟DOS命令一樣,用於查看服務器的文件,直接敲上dir回車,就可以看到此ftp服務器上的文件。
  cd 進入某個文件夾。
  get 下載文件到本地機器。
  put 上傳文件到遠程服務器。這就要看遠程ftp服務器是否給了你可寫的權限了,如果可以,呵呵,該怎麼 利用就不多說了,大家就自由發揮去吧。
  delete 刪除遠程ftp服務器上的文件。這也必須保證你有可寫的權限。
  bye 退出當前連接。
  quit 同上。
  
  八,telnet
  功能強大的遠程登陸命令,幾乎所有的***者都喜歡用它,屢試不爽。爲什麼?它*作簡單,如同使用自己的機器一樣,只要你熟悉DOS命令,在成功以administrator身份連接了遠程機器後,就可以用它來**想幹的一切了。下面介紹一下使用方法,首先鍵入telnet回車,再鍵入help查看其幫助信息。   
  然後在提示符下鍵入open IP回車,這時就出現了登陸窗口,讓你輸入合法的用戶名和密碼,這裏輸入任何密碼都是不顯示的。   
  當輸入用戶名和密碼都正確後就成功建立了telnet連接,這時候你就在遠程主機上具有了和此用戶一樣的權限,利用DOS命令就可以實現你想幹的事情了。這裏我使用的超級管理員權限登陸的。  
  到這裏爲止,網絡DOS命令的介紹就告一段落了,這裏介紹的目的只是給菜鳥網管一個印象,讓其知道熟悉和掌握網絡DOS命令的重要性。其實和網絡有關的DOS命令還遠不止這些,這裏只是拋磚引玉,希望能對廣大菜鳥網管有所幫助。學好DOS對當好網管有很大的幫助,特別的熟練掌握了一些網絡的DOS命令。
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章