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由于子命令太多,这里不说了,不过这几个都是常用到的。
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章