您好,欢迎来到客趣旅游网。
搜索
您的当前位置:首页Windows命令大全

Windows命令大全

来源:客趣旅游网

windows命令全集|大全

网络飞鹰:http://hi.baidu.com/58716

华联中国:http://www.hackvs.com

 

1.常用Windows命令

winver---------检查windows版本

wmimgmt.msc----打开windows管理体系结构(wmi)

wupdmgr--------windows更新程序

wscript--------windows脚本宿主设置

write----------写字板

winmsd---------系统信息

wiaacmgr-------扫描仪和照相机向导

winchat--------xp自带局域网聊天

mem.exe--------显示内存使用情况

msconfig.exe---系统配置实用程序

mplayer2-------简易widnows media player

mspaint--------画图板

mstsc----------远程桌面连接

mplayer2-------媒体播放机

magnify--------放大镜实用程序

mmc------------打开控制台

mobsync--------同步命令

dxdiag---------检查directx信息

drwtsn32------ 系统医生

devmgmt.msc--- 设备管理器

dfrg.msc-------磁盘碎片整理程序

diskmgmt.msc---磁盘管理实用程序

dcomcnfg-------打开系统组件服务

ddeshare-------打开dde共享设置

dvdplay--------dvd播放器

net stop messenger-----停止信使服务

net start messenger----开始信使服务

notepad--------打开记事本

nslookup-------网络管理的工具向导

ntbackup-------系统备份和还原

narrator-------屏幕“讲述人”

ntmsmgr.msc----移动存储管理器

ntmsoprq.msc---移动存储管理员操作请求

netstat -an----(tc)命令检查接口

syncapp--------创建一个公文包

sysedit--------系统配置编辑器

sigverif-------文件签名验证程序

sndrec32-------录音机

shrpubw--------创建共享文件夹

secpol.msc-----本地安全策略

syskey---------系统加密,一旦加密就不能解开,保护windows xp系统的双重密码

services.msc---本地服务设置

sndvol32-------音量控制程序

sfc.exe--------系统文件检查器

sfc /scannow---windows文件保护

tsshutdn-------60秒倒计时关机命令

tourstart------xp简介(安装完成后出现的漫游xp程序)

taskmgr--------任务管理器

eventvwr-------事件查看器

eudcedit-------造字程序

explorer-------打开资源管理器

packager-------对象包装程序

perfmon.msc----计算机性能监测程序

progman--------程序管理器

regedit.exe----注册表

rsop.msc-------组策略结果集

regedt32-------注册表编辑器

rononce -p ----15秒关机

regsvr32 /u *.dll----停止dll文件运行

regsvr32 /u zipfldr.dll------取消zip支持

cmd.exe--------cmd命令提示符

chkdsk.exe-----chkdsk磁盘检查

certmgr.msc----证书管理实用程序

calc-----------启动计算器

charmap--------启动字符映射表

cliconfg-------sql server 客户端网络实用程序

clipbrd--------剪贴板查看器

conf-----------启动netmeeting

compmgmt.msc---计算机管理

cleanmgr-------垃圾整理

ciadv.msc------索引服务程序

osk------------打开屏幕键盘

odbcad32-------odbc数据源管理器

oobe/msoobe /a----检查xp是否激活

lusrmgr.msc----本机用户和组

logoff---------注销命令

iexpress-------木马捆绑工具,系统自带

nslookup-------ip地址侦测器

fsmgmt.msc-----共享文件夹管理器

utilman--------辅助工具管理器

gpedit.msc-----组策略

 

 

2.其他更多Windows命令

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 分布式文件系统服务器

 

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. 命令行的文本编辑器(历史悠久啊!)

 

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. 同步目录管理器

 

 

 

批处理命令

 

1、Echo 命令

打开回显或关闭请求回显功能,或显示消息。如果没有任何参数,echo 命令将显示当前回显设置。

语法

echo [{on│off}] [message]

Sample:@echo off / echo hello world

在实际应用中我们会把这条命令和重定向符号(也称为管道符号,一般用> >> ^)结合来实现输入一些命令到特定格式的文件中.这将在以后的例子中体现出来。

2.@ 命令

表示不显示@后面的命令,在入侵过程中(例如使用批处理来格式化敌人的硬盘)自然不能让对方看到你使用的命令啦。

Sample:@echo off

@echo Now initializing the program,please wait a minite...

@format X: /q/u/autoset (format 这个命令是不可以使用/y这个参数的,可喜的是微软留了个autoset这个参数给我们,效果和/y是一样的。)

 

3.Goto 命令

指定跳转到标签,找到标签后,程序将处理从下一行开始的命令。

语法:goto label (label是参数,指定所要转向的批处理程序中的行。)

Sample:

if {%1}=={} goto noparms

if {%2}=={} goto noparms(如果这里的if、%1、%2你不明白的话,先跳过去,后面会有详细的解释。)

@Rem check parameters if null show usage

:noparms

echo Usage: monitor.bat ServerIP PortNumber

goto end

标签的名字可以随便起,但是最好是有意义的字母啦,字母前加个:用来表示这个字母是标签,goto命令就是根据这个:来寻找下一步跳到到那里。最好有一些说明这样你别人看起来才会理解你的意图啊。

 

4.Rem 命令

注释命令,在C语言中相当与/*--------*/,它并不会被执行,只是起一个注释的作用,便于别人阅读和你自己日后修改。

Rem Message

Sample:@Rem Here is the description.

 

5.Pause 命令

运行 Pause 命令时,将显示下面的消息:

Press any key to continue . . .

Sample:

@echo off

:begin

copy a:*.* d:ack

echo Please put a new disk into driver A

pause

goto begin

在这个例子中,驱动器 A 中磁盘上的所有文件均复制到d:ack中。显示的注释提示您将另一张磁盘放入驱动器 A 时,pause 命令会使程序挂起,以便您更换磁盘,然后按任意键继续处理。

 

6.Call 命令

从一个批处理程序调用另一个批处理程序,并且不终止父批处理程序。call 命令接受用作调用目标的标签。如果在脚本或批处理文件外使用 Call,它将不会在命令行起作用。

语法

call [[Drive:][Path] FileName [BatchParameters]] [:label [arguments]]

参数

[Drive:}[Path] FileName

指定要调用的批处理程序的位置和名称。filename 参数必须具有 .bat 或 .cmd 扩展名。

 

7.start 命令

调用外部程序,所有的DOS命令和命令行程序都可以由start命令来调用。

入侵常用参数:

MIN 开始时窗口最小化

SEPARATE 在分开的空间内开始 16 位 Windows 程序

HIGH 在 HIGH 优先级类别开始应用程序

REALTIME 在 REALTIME 优先级类别开始应用程序

WAIT 启动应用程序并等候它结束

parameters 这些为传送到命令/程序的参数

执行的应用程序是 32-位 GUI 应用程序时,CMD.EXE 不等应用程序终止就返回命令提示。如果在命令脚本内执行,该新行为则不会发生。

8.choice 命令

choice 使用此命令可以让用户输入一个字符,从而运行不同的命令。使用时应该加/c:参数,c:后应写提示可输入的字符,之间无空格。它的返回码为1234……

如: choice /c:dme defrag,mem,end

将显示

defrag,mem,end[D,M,E]?

Sample:

test.bat的内容如下:

Copyright © 2019- kqyc.cn 版权所有 赣ICP备2024042808号-2

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务