windowsxp下的DOS命令

gpedit.msc-----組策略????sndrec32-------錄音機

  Nslookup-------IP地址偵測器???explorer-------打開資源管理器

  logoff---------註銷命令??????????????? tsshutdn-------60秒倒計時關機命令

  lusrmgr.msc----本機用戶和組????????????? services.msc---本地服務設置

  oobe/msoobe /a----檢查XP是否激活???????????notepad--------打開記事本

  cleanmgr-------垃圾整理??????????????? net start messenger----開始信使服務

  compmgmt.msc---計算機管理?????????????? net stop messenger-----停止信使服務

  conf-----------啓動netmeeting???????????? dvdplay--------DVD播放器

  charmap--------啓動字符映射表?????? ? diskmgmt.msc---磁盤管理實用程序

  calc-----------啓動計算器?????????????? dfrg.msc-------磁盤碎片整理程序

  chkdsk.exe-----Chkdsk磁盤檢查???????????? devmgmt.msc--- 設備管理器

  regsvr32 /u *.dll----停止dll文件運行?????????drwtsn32------ 系統醫生

  rononce -p ----15秒關機??????????????? dxdiag---------檢查DirectX信息

  regedt32-------註冊表編輯器????????????? Msconfig.exe---系統配置實用程序

  rsop.msc-------組策略結果集????????????? mem.exe--------顯示內存使用情況

  regedit.exe----註冊表???????????????? winchat--------XP自帶局域網聊天

  progman--------程序管理器?????????????? winmsd---------系統信息

  perfmon.msc----計算機性能監測程序?????????? winver---------檢查Windows版本

  sfc /scannow-----掃描錯誤並復原??????????? winipcfg-------IP配置

  taskmgr-----任務管理器(2000/xp/2003)???????command--------cmd

  fsmgmt.msc 共享文件夾???????????????? netstat -an----查看端口

  osk 屏幕鍵盤?????????????????????install.asp----修改註冊網頁

  eventvwr.msc 事件查看器

  secpol.msc 本地安全設置

  services.msc 服務

  2K

  

  accwiz.exe > 輔助工具嚮導?

  acsetups.exe > acs setup dcom server executable?

  actmovie.exe > 直接顯示安裝工具?

  append.exe > 允許程序打開制定目錄中的數據?

  arp.exe > 顯示和更改計算機的ip與硬件物理地址的對應列表?

  at.exe > 計劃運行任務?

  atmadm.exe > 調用管理器統計?

  attrib.exe > 顯示和更改文件和文件夾屬性?

  autochk.exe > 檢測修復文件系統?

  autoconv.exe > 在啓動過程中自動轉化系統?

  autofmt.exe > 在啓動過程中格式化進程?

  autolfn.exe > 使用長文件名格式?

  bootok.exe > boot acceptance application for registry?

  bootvrfy.exe > 通報啓動成功?

  cacls.exe > 顯示和編輯acl?

  calc.exe > 計算器?

  cdplayer.exe > cd播放器?

  change.exe > 與終端服務器相關的查詢?

  charmap.exe > 字符映射表?

  chglogon.exe > 啓動或停用會話記錄?

  chgport.exe > 改變端口(終端服務)?

  chgusr.exe > 改變用戶(終端服務)?

  chkdsk.exe > 磁盤檢測程序?

  chkntfs.exe > 磁盤檢測程序?

  cidaemon.exe > 組成ci文檔服務?

  cipher.exe > 在ntfs上顯示或改變加密的文件或目錄?

  cisvc.exe > 索引內容?

  ckcnv.exe > 變換cookie?

  cleanmgr.exe > 磁盤清理?

  cliconfg.exe > sql客戶網絡工具?

  clipbrd.exe > 剪貼簿查看器?

  clipsrv.exe > 運行clipboard服務?

  clspack.exe > 建立系統文件列表清單?

  cluster.exe > 顯示域的集羣?

  _cmd_.exe > 沒什麼好說的!?

  cmdl32.exe > 自動下載連接管理?

  cmmgr32.exe > 連接管理器?

  cmmon32.exe > 連接管理器監視?

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

  comclust.exe > 集羣?

  comp.exe > 比較兩個文件和文件集的內容*?

  compact.exe > 顯示或改變ntfs分區上文件的壓縮狀態?

  conime.exe > ime控制檯?

  control.exe > 控制面板?

  convert.exe > 轉換文件系統到ntfs?

  convlog.exe > 轉換iis日誌文件格式到ncsa格式?

  cprofile.exe > 轉換顯示模式?

  cscript.exe > 較本宿主版本?

  csrss.exe > 客戶服務器runtime進程?

  csvde.exe > 日至格式轉換程序?

  dbgtrace.exe > 和terminal server相關?

  dcomcnfg.exe > dcom配置屬性?

  dcphelp.exe > ??

  dcpromo.exe > ad安裝嚮導?

  ddeshare.exe > dde共享?

  ddmprxy.exe >?

  debug.exe > 就是debug啦!?

  dfrgfat.exe > fat分區磁盤碎片整理程序?

  dfrgntfs.exe > ntfs分區磁盤碎片整理程序?

  dfs_cmd_.exe > 配置一個dfs樹?

  dfsinit.exe > 分佈式文件系統初始化?

  dfssvc.exe > 分佈式文件系統服務器?

  diantz.exe > 製作cab文件?

  diskperf.exe > 磁盤性能計數器?

  dllhost.exe > 所有com+應用軟件的主進程?

  dllhst3g.exe >?

  dmadmin.exe > 磁盤管理服務?

  dmremote.exe > 磁盤管理服務的一部分?

  dns.exe > dns applications dns?

  doskey.exe > 命令行創建宏?

  dosx.exe > dos擴展?

  dplaysvr.exe > 直接運行幫助?

  drwatson.exe > 華生醫生錯誤檢測?

  drwtsn32.exe > 華生醫生顯示和配置管理?

  dtcsetup.exe > installs mdtc?

  dvdplay.exe > dvd播放?

  dxdiag.exe > direct-x診斷工具?

  edlin.exe > 命令行的文本編輯器(歷史悠久啊!)?

  edlin.exe > 命令行的文本編輯器(歷史悠久啊!)?

  esentutl.exe > ms數據庫工具?

  eudcedit.exe > type造字程序?

  eventvwr.exe > 事件查看器?

  evnt_cmd_.exe > event to trap translator; configuration tool?

  evntwin.exe > event to trap translator setup?

  exe2bin.exe > 轉換exe文件到二進制?

  expand.exe > 解壓縮?

  extrac32.exe > 解cab工具?

  fastopen.exe > 快速訪問在內存中的硬盤文件?

  faxcover.exe > 傳真封面編輯?

  faxqueue.exe > 顯示傳真隊列?

  faxsend.exe > 發送傳真嚮導?

  faxsvc.exe > 啓動傳真服務?

  fc.exe > 比較兩個文件的不同?

  find.exe > 查找文件中的文本行?

  findstr.exe > 查找文件中的行?

  finger.exe > 一個用戶並顯示出統計結果?

  fixmapi.exe > 修復mapi文件?

  flattemp.exe > 允許或者禁用臨時文件目錄?

  fontview.exe > 顯示字體文件中的字體?

  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域?

  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 specif?

  ied in posix format. use /"//c/users/default/" instead of /"c:usersdefault./" 啓動便攜式存檔互換 (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 撥號連接?

  ras.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 character?

  istics. 註冊包含特殊運行字符的程序?

  regsvc.exe >?

  regsvr32.exe > registers and unregister/'s dll/'s. as to how and where it regi?

  ster/'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?

  . 檢查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 net?

  work?

  在網絡上顯示終端服務器可用的程序?

  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 撥號連接?

  ras.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 character?

  istics. 註冊包含特殊運行字符的程序?

  regsvc.exe >?

  regsvr32.exe > registers and unregister/'s dll/'s. as to how and where it regi?

  ster/'s them i dont know. 註冊和反註冊dll?

  regtrace.exe > options to tune debug options for applications failing to dum?

  p 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





               DOS常用命令詳解

CMD,COMMAND 進入DOS命令

dir 列文件名 deltree 刪除目錄樹 cls 清屏 cd 改變當前目錄

copy 拷貝文件 diskcopy 複製磁盤 del 刪除文件 format 格式化磁盤

edit 文本編輯 mem 查看內存狀況 md 建立子目錄 move 移動文件、改目錄名

more 分屏顯示 type 顯示文件內容 rd 刪除目錄

sys 製作DOS系統盤

ren 改變文件名 xcopy 拷貝目錄與文件 chkdsk 檢查磁盤 attrib 設置文件屬性

fdisk 硬盤分區 date 顯示及修改日期 label 設置卷標號 defrag 磁盤碎片整理

msd 系統檢測 path 設置搜尋目錄 share 文件共享 memmaker內存優化管理

help 幫助 restore 恢復備份文件 set 設置環境變量 time 顯示及修改時間

tree 列目錄樹 debug 隨機調試程序 doskey 重新調用DOS命令 prempt 設置提示符 undelete恢復被刪的文件 scandisk檢測、修理磁盤



               不常用DOS命令

diskcomp磁盤比較  append 設置非執行文件路徑

expand 還原DOS文件 fasthelp快速顯示幫助信息

fc 文件比較 interink啓動服務器

setver 設置版本 intersvr啓動客戶機

subst 路徑替換 qbasic Basic集成環境

vsafe 防病毒 unformat恢復已格式化的磁盤

ver 顯示DOS版本號 smartdrv設置磁盤加速器

vol 顯示磁盤卷標號 lh 將程序裝入高端內存

ctty 改變控制設備 emm386 擴展內存管理

常用命令具體介紹:

一、Dir

顯示目錄文件和子目錄列表,呵呵,這個當然是人人要知道的。

可以使用通配符(? 和 *),?表通配一個字符,*表通配任意字符

*.後綴

指定要查看後綴的文件。 上面其實也可以爲“ . 後綴”,例如dir *.exe 等於dir .exe

/p

每次顯示一個列表屏幕。要查看下一屏,請按鍵盤上的任意鍵。

/w

以寬格式顯示列表,在每一行上最多顯示 5 個文件名或目錄名。

/s

列出指定目錄及所有子目錄中出現的每個指定的文件名。比win環境下的查找快多了

dir *.* -> a.txt 把當前目錄文件列表寫入a.txt

dir *.* /s -> a.txt 把當前目錄文件列表寫入a.txt,包括子目錄下文件。

二、Attrib

顯示、設置或刪除指派給文件或目錄的只讀、存檔、系統以及隱藏屬性。如果在不含參數的情況下使用,則 attrib 會顯示當前目錄中所有文件的屬性。

+r 設置只讀屬性。

-r 清除只讀屬性。

+a 設置存檔文件屬性。

-a 清除存檔文件屬性。

+s 設置系統屬性。

-s 清除系統屬性。

+h 設置隱藏屬性。

-h 清除隱藏屬性。

三、Cls

清除顯示在命令提示符窗口中的所有信息,並返回空窗口,即“清屏”

四、Exit

退出當前命令解釋程序並返回到系統。

五、format

格式化

/q 執行快速格式化。刪除以前已格式化卷的文件表和根目錄,但不在扇區之間掃描損壞區域。使用 /q 命令行選項應該僅格式化以前已格式化的完好的卷。

六、Ipconfig

顯示所有當前的 TCP/IP 網絡配置值、刷新動態主機配置協議 (DHCP) 和域名系統 (DNS) 設置。使用不帶參數的 ipconfig 可以顯示所有適配器的 IP 地址、子網掩碼、默認網關。

/all 顯示所有適配器的完整 TCP/IP 配置信息。

ipconfig 等價於 winipcfg,後者在ME、98 和 95 上可用。儘管 Windows XP 沒有提供象 winipcfg 命令一樣的圖形化界面,但可以使用“網絡連接”查看和更新 IP 地址。要做到這一點,請打開 網絡連接,右鍵單擊某一網絡連接,單擊“狀態”,然後單擊“支持”選項卡。

該命令最適用於配置爲自動獲取 IP 地址的計算機。它使用戶可以確定哪些 TCP/IP 配置值是由 DHCP、自動專用 IP 地址 (APIPA) 和其他配置配置的。

七、md 創建目錄或子目錄

八、Move 將一個或多個文件從一個目錄移動到指定的目錄。

九、Nbtstat

顯示本地計算機和遠程計算機的基於 TCP/IP (NetBT) 協議的 NetBIOS 統計資料、NetBIOS 名稱表和 NetBIOS 名稱緩存。Nbtstat 可以刷新 NetBIOS 名稱緩存和註冊的 Windows Internet 名稱服務 (WINS) 名稱。使用不帶參數的 nbtstat 顯示幫助。Nbtstat 命令行參數區分大小寫。

-a remotename

顯示遠程計算機的 NetBIOS 名稱表,其中,RemoteName 是遠程計算機的 NetBIOS 計算機名稱。

-A IPAddress 顯示遠程計算機的 NetBIOS 名稱表,其名稱由遠程計算機的 IP 地址指定(以小數點分隔)。

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

-a 顯示所有活動的 TCP 連接以及計算機偵聽的 TCP 和 UDP 端口。

十一、Ping 通過發送“網際消息控制協議 (ICMP)”迴響請求消息來驗證與另一臺 TCP/IP 計算機的 IP 級連接。迴響應答消息的接收情況將和往返過程的次數一起顯示出來。Ping 是用於檢測網絡連接性、可到達性和名稱解析的疑難問題的主要 TCP/IP 命令。如果不帶參數,ping 將顯示幫助。名稱和Ip地址解析是它的最簡單應用也是用的最多的。

-t 指定在中斷前 ping 可以持續發送迴響請求信息到目的地。要中斷並顯示統計信息,請按 CTRL-BREAK。要中斷並退出 ping,請按 CTRL-C。

-lSize

指定發送的迴響請求消息中“數據”字段的長度(以字節表示)。默認值爲 32。size 的最大值是 65,527。

十二、Rename (Ren)

更改文件的名稱。 例如 ren *.abc *.cba

十三、Set 顯示、設置或刪除環境變量。如果沒有任何參數,set 命令將顯示當前環境設置。

十四、Shutdown 允許您關閉或重新啓動本地或遠程計算機。如果沒有使用參數,shutdown 將註銷當前用戶。

-m ComputerName 指定要關閉的計算機。

-t xx 將用於系統關閉的定時器設置爲 xx 秒。默認值是 20 秒。

-l 註銷當前用戶,這是默認設置。-m ComputerName 優先。

-s 關閉本地計算機。

-r 關閉之後重新啓動。

-a 中止關閉。除了 -l 和 ComputerName 外,系統將忽略其它參數。在超時期間,您只可以使用 -a。

十五、System File Checker (sfc)

win下才有,在重新啓動計算機後掃描和驗證所有受保護的系統文件。

/scannow 立即掃描所有受保護的系統文件。

/scanonce 一次掃描所有受保護的系統文件。

/purgecache 立即清除“Windows 文件保護”文件高速緩存,並掃描所有受保護的系統文件。

/cachesize=x 設置“Windows 文件保護”文件高速緩存的大小,以 MB 爲單位。

十六、type 顯示文本文件的內容。使用 type 命令查看文本文件或者是bat文件而不修改文件

十七、Tree 圖像化顯示路徑或驅動器中磁盤的目錄結構。

十八、Xcopy 複製文件和目錄,包括子目錄。

/s 複製非空的目錄和子目錄。如果省略 /s,xcopy 將在一個目錄中工作。

/e 複製所有子目錄,包括空目錄。

十九、copy 將一個或多個文件從一個位置複製到其他位置

二十、del 刪除指定文件。

ftp和bat批命令和net和telnet由於子命令太多,這裏不說了,不過這幾個都是常用到的。
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章