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 分布式文件系统服务器
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. 同步目录管理器
Win2000命令全集3
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) 读取计划更新文件和更新
计划
Win2000命令全集4
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 复制文件和目录,包括子目录
windows2000命令集2
Chkdsk(基于所用的文件系统,创建和显示磁盘的状态报告。Chkdsk 也列出并纠正磁盘上的错误。如果 chkdsk 不能锁定驱动器,则它将在下
一次重新启动计算机时检查该驱动器。在固定磁盘上发布 chkdsk 命令需要您是该 Administrators 组的成员。)
命令参数:
chkdsk [drive:][path] filename] [/f] [/v] [/r] [/l[:size] [/x]
说明:
如果在没有参数的情况下使用,则 chkdsk 显示当前驱动器中的磁盘状态。
drive: :指定要 chkdsk 检查的磁盘所在的驱动器。
[path] filename :指定需要 chkdsk 检查碎片整理的文件或文件集的位置和名称。使用通配字符(* 和 ?)可以指定多个文件。
/f :修复磁盘错误必须锁定磁盘。如果 chkdsk 不能锁定驱动器,则它将在下一次重新启动计算机时检查该驱动器。
/v :当检查磁盘时,显示所有目录中每个文件的名称。
/r :定位坏扇区并恢复可读取的信息。必须锁定磁盘。
/l[:size] :仅限于 NTFS。将日志文件的大小更改为输入的大小。如果不输入新内容,则显示当前大小。
/x :仅限于 NTFS。如果必要,首先强制卸载卷。然后所有对卷打开的句柄将变为无效。该开关也包含 /f 开关的功能。
/i :仅限于 NTFS。对索引项执行充分检查,降低运行 chkdsk 的所用时间量。
/c :仅限于 NTFS。跳过文件夹结构中的周期检查,减少运行 chkdsk 所需的时间量。
Chkntfs(显示或指定在启动计算机时计划的自动系统检查是否在 FAT、FAT32 或者 NTFS 卷上运行。必须是本地管理组的成员才能使用
chkntfs 命令。)
命令参数:
chkntfs [/t[:time] [/x] [/c] volume: [...]
chkntfs /d
说明:
volume: :显示有关消息,识别指定卷的文件系统,并(如果已计划将运行自动文件检查)指出卷是否已损坏,需要运行 chkdsk。
/d :还原所有 chkntfs 默认设置,除了自动文件检查的倒计时之外。计算机启动时,默认*作是检查所有卷。
/t :显示或更改用于自动文件检查的倒计时时间。例如:
chkntfs /t :显示自动文件检查的倒计时。
chkntfs /t:30 :将倒计时更改为 30 秒。
尽管可以将倒计时时间设置为零,但是这样做可以防止用户将潜在耗时的自动文件检查取消。
/x :排除计算机启动时检查指定卷,即使该卷标记为需要 chkdsk 才能运行。
该命令不是积累的。如果输入多次,它将替代以前的项。要排除多个卷,请在一个命令中将所有卷列出。例如:
chkntfs /x e: f: 排除 e 和 f 卷。
chkntfs /x e:,后接 chkntfs /x f:,将从已经检查的卷中只排除 f 卷。
/c :计划当计算机启动时对指定卷的检查时间。
此命令是积累的。如果只需要检查指定的卷,请首先重设默认值以清除任何以前的命令,然后从已检查的卷中将所有的卷排除检查,最后在所
需卷上计划自动文件检查。
例如,只想在 d 卷上计划自动检查文件,可以键入如下命令:
chkntfs /d (这将还原默认设置。)
chkntfs /x c: d: e:(这排除对 c、d 和 e 卷的检查。)
chkntfs /c d:(此*作计划对 d 卷上的文件进行自动检查。)
Cipher(在 NTFS 卷上显示或改变文件的加密。)
命令参数:
cipher [/e| /d] [/s:dir] [/a] [/f] [/q] [/h] [pathname [...]
说明:
不带参数使用,将显示当前文件夹和其包含文件的加密状态。
/e :加密指定的文件夹。文件夹将被标记,以后添加到此文件夹中的文件将被加密。
/d :将指定的文件夹解密。文件夹将被标记,以后将会不加密添加到此文件夹的文件。
/s: dir :对在给定目录及全部子目录中的文件执行指定*作。
/a :对带指定名称的文件执行所选*作。如果没有匹配的文件,该参数将被忽略。
/i :即使发生错误,系统仍然继续执行指定的*作。默认情况下,遇到错误时 cipher 会停止。
/f :对所有指定的对象进行加密或解密。默认情况下,已加密或解密的文件被跳过。
/q :只报告最基本的信息。
/h :显示带隐藏或系统属性的文件。默认情况下,这些文件是不加密或解密的。
pathname :指定样式、文件或文件夹。
Cls(清除屏幕。)
说明:
清除后的屏幕只显示命令提示符和插入点。
Cmd(启动 Windows 2000 命令解释器 Cmd.exe 的新实例。)
命令解释器是显示所键入命令的提示内容的程序。使用 exit 命令终止新命令解释器并返回旧命令解释器。
命令参数:
cmd [ [/c | /k] [/q] [/a | /u] [/t:fg] [/x | /y] string]
说明:
/c :执行 string 指定的命令,然后停止。
/k :执行 string 指定的命令并继续。
/q :关闭回显。
/a :创建 ANSI 输出。
/u :创建 Unicode 输出。
/t:fg :设置前景色和背景色。(详细信息,请单击“相关主题”列表中的“颜色”)。
/x :启用 Cmd.exe 到 Windows 2000 版本的扩展,以便提供更丰富的外壳编程环境。下列命令使用该扩展:del (erase), color, cd
(chdir), md (mdir), prompt, pushd, popd, set, setlocal, endlocal, if, for, call, shift, goto, start, assoc 和 ftype。
/y :禁用 Cmd.exe 的 Windows 2000 版本的扩展,原因是向后兼容。默认情况下启用扩展。
string :指定要执行的命令。
Color(设置默认的控制台前景色和背景色。)
命令参数:
color bf
说明:
bf :指定控制台输出的颜色属性。b 是指定背景色的十六进制数字;f 指定前景。十六进制数字有以下值:
0 黑色1 蓝色 2 绿色 3 浅绿色 4 红色 5 紫色 6 黄色 7 白色 8 灰色 9 浅蓝 A 浅绿 B 浅蓝色C 浅红色D 淡紫色 E 浅黄色 F 亮白色
例如,color fc 在亮白的背景上产生浅红色。
如果没有给定参数,该命令将颜色还原成启动 Cmd.exe 时的颜色。该值来自当前控制台窗口、/t 命令行开关或来自 DefaultColor 注册表值
。
如果指定的前景和背景值相同,color 将返回 ERRORLEVEL 1
Comp(逐字节地比较两个文件或几组文件的内容。)
Comp 可以比较相同驱动器或不同驱动器上的文件以及相同目录或不同目录中的文件。comp 比较文件时,将显示文件的位置和文件名。
命令参数:
comp [data1] [data2] [/d] [/a] [/l] [/n=number] [/c]
说明:
data1 :指定要比较的第一个文件或文件集的位置和名称。使用通配字符(* 和 ?)可以指定多个文件。
data2 :指定要比较的第二个文件或文件集的位置和名称。使用通配字符(* 和 ?)可以指定多个文件。
d :以小数格式显示差别(默认格式是十六进制的)。
/a :将差别显示为字符形式。
/l :显示出现差别的行编号,而不显示字节偏量。
/n=number :比较两个文件的第一个 number,即使两个文件的大小并不相同。
/c :执行不区分大小写的比较。
Compact(显示和更改 NTFS 分区上的文件或目录压缩。)
命令参数:
compact [/c|/u] [/s[:dir] [/a] [/q] [/f] [filename[...]
说明:
如果在没有参数的情况下使用,则 compact 显示当前目录的压缩状态。
/c :压缩指定的目录或文件。
/u :解压缩指定的目录或文件。
/s:dir :指定将所请求的*作(压缩或解压缩)应用到指定目录的所有子目录,或者如果没有指定目录,则应用到当前目录的所有子目录。
/a :显示隐藏或系统文件。
/q :只报告最基本的信息。
/i :忽略错误。
/f :对指定目录或文件进行压缩或解压缩。这用于当系统崩溃中断*作时文件被部分压缩的情况。要强制文件压缩完全,请使用 /c 和 /f 参
数并指定部分压缩的文件。
filename :指定文件或目录。可以使用多个文件名和通配字符(* 和 ?)。
Convert(将 FAT 或 FAT32 卷转换成 NTFS 卷。不能转换当前驱动器。如果 convert 不能锁定驱动器,则将在下一次重新启动计算机时转换
该驱动器。)
命令参数:
convert [drive:]/fs:ntfs [/v]
说明:
drive: :指定要转换为 NTFS 的驱动器。
/fs:ntfs :卷转换为 NTFS。
/v :指定冗长模式。转换期间将显示所有消息。
Copy(将一个或多个文件复制到其他位置。)
该命令也可用于合并文件。在复制多个文件时,Windows 2000 在复制时显示每个文件名。
命令参数:
copy [/a | /b] source [/a | /b] [/a | /b] + source[/a | /b] [+ ...][/v] [/n] [/y | /-y] [/z] [/a | /b] [destination [/a | /b]
说明:
source 指定要从其中进行复制的文件或文件集的位置和名称。source 可以由驱动器号和冒号、文件夹名、文件名或组合所组成。
destination 复制到其中的文件或文件集的位置和名称。Destination 可以由驱动器号和冒号、文件夹名、文件名及组合而组成。
/a 表明 ASCII 文本文件。当 /a 开关在命令行上的文件名列表之前时,它作用于名字在 /a 开关之后的所有文件,直到 copy 遇到 /b 开关
为止。在这种情况下,/b 开关应用于它前面的文件。 当 /a 开关跟在某个文件名后时,它作用于名字在 /a 开关之前的文件,以及名字在 /a
开关之后的所有文件,直到 copy 遇到 /b 开关为止。在此情况下,/b 开关应用于它前面的文件。ASCII 文本文件可以使用文件尾字符
(CTRL+Z) 表明文件结尾。在合并文件时,默认情况下 copy 将文件看成 ASCII 文本文件。
/b 表明二进制文件。当 /b 开关在命令行上的文件名列表之前时,它作用于名字在 /b 开关后面的所有文件,直到 copy 遇到 /a 开关为止
。在此情况下,/a 开关应用于它前面的文件。 当 /b 开关跟在某个文件名后时,它作用于名字在 /b 开关之前的文件,以及名字在 /b 开关
之后的所有文件,直到 copy 遇到 /a 开关为止。在此情况下,/a 开关应用于它前面的文件。 /b 开关指定命令解释程序读取目录中文件大小
指定的字节数。/b 开关是 copy 的默认值,除非 copy 正在合并文件。
/v 验证是否正确写入新文件。
/n 在复制名字超过八个字符,或者文件扩展名超过三个字符的文件时使用短文件名(如果有的话)。
/y 对确认您要覆盖现有目标文件暂时不作提示。
/y 开关可以在 COPYCMD 环境变量中预先设置。在命令行上使用 /-y 可以覆盖该设置。除非 copy 命令从批处理脚本内部执行,否则默认为在
替换时提示。要附加文件,请指定单个目标文件,多个源文件(使用通配符或 file1+file2+file3)。
/-y:给出提示,确认是否要替换现有的目标文件。
/z :重启模式中复制网络文件。如果在复制阶段连接丢失(例如,如果服务器脱机断开连接),将在重新建立连接后继续复制。使用该命令开
关同时显示每个文件完成的复制*作百分比。
Country(使 MS-DOS 子系统能使用国际时间、日期、货币、大小写转换和小数分隔符。)
country 命令配置 MS-DOS 子系统识别其中一种支持语言所使用的字符集和遵守的标点符号协定。使用程序的 PIF 中指定的
%systemroot%\System32\Config.nt 文件或等价的启动文件加载“国家(地区)”设置。
命令参数:
country=xxx[,[yyy][,[drive:][path] filename]
说明:
xxx 指定国家(地区)代码。
yyy 指定国家(地区)的代码页。
[drive:][path] filename 指定包含国家(地区)信息文件的位置和名称。
Date(显示日期,或者允许您使用计算机或批处理程序更改日期。)
命令参数:
date [mm-dd-yy]
date [/t]
说明:
mm-dd-yy 设置您指定的日期。日、月份和年份的值必须以句号 (.)、连字符 (-) 或斜杠标记 (/) 分隔。
mm 可以是 1 到 12 中的值
dd 可以是 1 到 31 中的值
yy 可以是从 80 到 99 或从 1980 到 2099 中的值
/t 通知命令显示当前日期而不提示新日期。
Debug(启动 Debug,它是可用于测试和调试 MS-DOS 可执行文件的程序。)
命令参数:
Debug [drive:][path] filename [parameters]
说明:
[drive:][path] filename 指定要测试的可执行文件的位置和名称。
parameters 指定要测试的可执行文件所需要的任何命令行信息。
Debug 子命令
********************************************************************************
Debug:A(汇编)(直接将 8086/8087/8088 记忆码合并到内存。)
该命令从汇编语言语句创建可执行的机器码。所有数值都是十六进制格式,必须按一到四个字符输入这些数值。在引用的*作代码(*作码)前
指定前缀记忆码。
命令参数:
a [address]
说明:
address 指定键入汇编语言指令的位置。对 address 使用十六进制值,并键入不以“h”字符结尾的每个值。如果不指定地址,a 将在它上次
停止处开始汇编。
********************************************************************************24-2.Debug:C(比较)(比较内存的两个部分。)
命令参数:
c range address
说明:
range 指定要比较的内存第一个区域的起始和结束地址,或起始地址和长度。
address 指定要比较的第二个内存区域的起始地址。
******************************************************************************** Debug:D(转储)(显示一定范围内存地址
的内容。)
命令参数:
d [range]
说明:
range 指定要显示其内容的内存区域的起始和结束地址,或起始地址和长度。有关有效的 range 值的信息,请单击“相关主题”列表中的“
Debug 说明”。如果不指定 range,Debug 程序将从以前 d 命令中所指定的地址范围的末尾开始显示 128 个字节的内容。
*******************************************************************************
Debug:E(键入)(将数据输入到内存中指定的地址。)
可以按十六进制或 ASCII 格式键入数据。以前存储在指定位置的任何数据全部丢失。
命令参数:
e address
说明:
address 指定输入数据的第一个内存位置。
list 指定要输入到内存的连续字节中的数据。
*******************************************************************************
Debug:F(填充)(使用指定的值填充指定内存区域中的地址。)
可以指定十六进制或 ASCII 格式表示的数据。任何以前存储在指定位置的数据将会丢失。
命令参数:
f range list
说明:
range 指定要填充内存区域的起始和结束地址,或起始地址和长度。关于有效的 range 值的信息,请单击“相关主题”列表中的“Debug 说
明”。
list 指定要输入的数据。List 可以由十六进制数或引号包括起来的字符串组成。
******************************************************************************
Debug:G(转向)(运行当前在内存中的程序。)
命令参数:
g [=address] [breakpoints]
说明:
=address 指定当前在内存中要开始执行的程序地址。如果不指定 address,Windows 2000 将从 CS:IP 寄存器中的当前地址开始执行程序。
breakpoints 指定可以设置为 g 命令的部分的 1 到 10 个临时断点。
*******************************************************************************
Debug:H(十六进制)(对指定的两个参数执行十六进制运算。)
命令参数:
h value1 value2
说明:
value1 代表从 0 到 FFFFh 范围内的任何十六进制数字。
value2 代表从 0 到 FFFFh 范围内第二个十六进制数字
Debug:I(输入)(从指定的端口读取并显示一个字节值。)
命令参数:
i port
说明:
port 按地址指定输入端口。地址可以是 16 位的值。
******************************************************************************
Debug:L(加载)(将某个文件或特定磁盘扇区的内容加载到内存。)
命令参数:
要从磁盘文件加载 BX:CX 寄存器中指定的字节数内容,请使用以下语法:
l [address]
要略过 Windows 2000 文件系统并直接加载特定的扇区,请使用以下语法:
l address drive start number
说明:
address 指定要在其中加载文件或扇区内容的内存位置。如果不指定 address,Debug 将使用 CS 寄存器中的当前地址。
drive 指定包含读取指定扇区的磁盘的驱动器。该值是数值型:0 = A, 1 = B, 2 = C 等。
start 指定要加载其内容的第一个扇区的十六进制数。
number 指定要加载其内容的连续扇区的十六进制数。只有要加载特定扇区的内容而不是加载 debug 命令行或最近的 Debug n(名称)命令中
指定的文件时,才能使用 drive、start 和 number 参数。
*******************************************************************************
Debug:M(移动)将一个内存块中的内容复制到另一个内存块中。
命令参数:
m range address
说明:
range 指定要复制内容的内存区域的起始和结束地址,或起始地址和长度。
address 指定要将 range 内容复制到该位置的起始地址。
*******************************************************************************
Debug:N(名称)(指定 Debug l(加载)或 w(写入)命令的可执行文件的名称,或者指定正在调试的可执行文件的参数。)
命令参数:
n [drive:][path] filename
要指定测试的可执行文件的参数,请使用以下语法:
n file-parameters
说明:
如果在没有参数的情况下使用,则 n 命令清除当前规范。
[drive:][path] filename 指定要测试的可执行文件的位置和名称。
file-parameters 为正在测试的可执行文件指定参数和开关。
********************************************************************************
Debug:O(输出)(将字节值发送到输出端口。)
命令参数:
o port byte-value
说明:
port 通过地址指定输出端口。端口地址可以是 16 位值。
byte-value 指定要指向 port 的字节值。
******************************************************************************* Debug:P(执行)(执行循环、重复的字符
串指令、软件中断或子例程;或通过任何其他指令跟踪。)
命令参数:
p [= address] [number]
说明:
=address 指定第一个要执行指令的位置。如果不指定地址,则默认地址是在 CS:IP 寄存器中指定的当前地址。
number 指定在将控制返回给 Debug 之前要执行的指令数。默认值为 1。
*******************************************************************************
Debug:Q(退出)(停止 Debug 会话,不保存当前测试的文件。)
说明:
当您键入 q 以后,控制返回到 Windows 2000 的命令提示符。
q 参数 该命令不带参数。
*******************************************************************************
Debug:R(寄存器)(显示或改变一个或多个 CPU 寄存器的内容。)
命令参数:
r [register-name]
说明:
如果在没有参数的情况下使用,则 r 命令显示所有寄存器的内容以及寄存器存储区域中的标志。
register-name 指定要显示其内容的寄存器名。
********************************************************************************
Debug:S(搜索)(在某个地址范围搜索一个或多个字节值的模式。)
命令参数:
s range list
说明:
range 指定要搜索范围的开始和结束地址。有关 range 参数有效值的信息,请单击“相关主题”列表中的 Debug。
list 指定一个或多个字节值的模式,或要搜索的字符串。用空格或逗号分隔每个字节值和下一个字节值。将字符串值包括在引号中。
*******************************************************************************
Debug:T(跟踪)(执行一条指令,并显示所有注册的内容、所有标志的状态和所执行指令的解码形式。)
命令参数:
t [=address] [number]
说明:
=address 指定 Debug 启动跟踪指令的地址。如果省略 address 参数,跟踪将从程序的 CS:IP 寄存器所指定的地址开始。
number 指定要跟踪的指令数。该值必须是十六进制数。默认值为 1。
*******************************************************************************
Debug:U(反汇编)(反汇编字节并显示相应的原语句,其中包括地址和字节值。反汇编代码看起来象已汇编文件的列表。)
命令参数:
u [range]
说明:
如果在没有参数的情况下使用,则 u 命令分解 20h 字节(默认值),从前面 u 命令所显示地址后的第一个地址开始。
range 指定要反汇编代码的起始地址和结束地址,或起始地址和长度。
*******************************************************************************
Debug:W(写入)(将文件或特定分区写入磁盘。)
命令参数:
要将在 BX:CX 寄存器中指定字节数的内容写入磁盘文件,请使用以下语法:
w [address]
要略过 Windows 2000 文件系统并直接写入特定的扇区,请使用以下语法:
w address drive start number
说明:
address 指定要写到磁盘文件的文件或部分文件的起始内存地址。如果不指定 address,Debug 程序将从 CS:100 开始。
drive 指定包含目标盘的驱动器。该值是数值型:0 = A, 1 = B, 2 = C,等等。
start 指定要写入第一个扇区的十六进制数。
number 指定要写入的扇区数。
*******************************************************************************
Debug:XA(分配扩展内存)(分配扩展内存的指定页面数。)
说明:
要使用扩展内存,必须安装符合 4.0 版的 Lotus/Intel/Microsoft 扩展内存规范 (LIM EMS) 的扩展内存设备驱动程序。
xa [count]
count 指定要分配的扩展内存的 16KB 页数
*******************************************************************************
Debug:XD(释放扩展内存)释放指向扩展内存的句柄。
命令参数:
要使用扩展内存,必须安装符合 4.0 版的 Lotus/Intel/Microsoft 扩展内存规范 (LIM EMS) 的扩展内存设备驱动程序。
xd [handle]
说明:
handle 指定要释放的句柄。
********************************************************************************
Debug:XM(映射扩展内存页)(将属于指定句柄的扩展内存逻辑页映射到扩展内存的物理页。
命令参数:
要使用扩展内存,必须安装符合 4.0 版的 Lotus/Intel/Microsoft 扩展内存规范 (LIM EMS) 的扩展内存设备驱动程序。
xm [lpage] [ppage] [handle]
说明:
lpage 指定要映射到物理页 ppage 的扩展内存的逻辑页面号。
ppage 指定将 lpage 映射到的物理页面号。
handle 指定句柄。
*******************************************************************************
Debug:XS(显示扩展内存状态)(显示有关扩展内存状态的信息。)
命令参数:
要使用扩展内存,必须安装符合 4.0 版的 Lotus/Intel/Microsoft 扩展内存规范 (LIM EMS) 的扩展内存设备驱动程序。
xs
说明: 该命令不带参数。
Del(清除)(删除指定文件。)
命令参数:
del [drive:][path] filename [ ...][/p] [/f] [/s] [/q] [/a[:attributes]
erase [drive:][path] filename [ ...][/p] [/f] [/s] [/q] [/a[:attributes]
说明:
[drive:][path] filename 指定要删除的文件或文件集的位置和名称。可以使用多件名。文件名可以用空格、逗号或分号分开。
/p 提示您确认是否删除指定的文件。
F 强制删除只读文件
/s 从当前目录及其所有子目录中删除指定文件。显示正在被删除的文件名。
/q 安静模式;不对删除确认作出提示。
/a 根据指定的属性删除文件。
attributes 可以是下列文件属性中的任意一种:
属性 说明
r 只读
a 存档
s 系统
h 隐藏
- 前缀表明“非”
Device (将指定的设备驱动程序加载到内存。) 使用 systemroot\System32\Config.nt 文件或某个程序的 PIF 中指定的等价启动文件加载
MS-DOS 子系统的设备驱动程序。
命令参数:
device=[drive:][path] filename [dd-parameter]
说明:
[drive:][path] filename 指定要加载的设备驱动程序的位置和名称。
[dd-parameters] 指定设备驱动程序所需要的任何命令行信息。
Dir(显示目录文件和子目录列表。)
命令参数:
dir [drive:][path][filename] [...] [/p] [/w] [/d] [/a[:]attributes][/o[:]sortorder] [/t[:]timefield] [/s] [/l] [/n] [/x] [/c]
说明:
如果在没有参数或开关的情况下使用,则 dir 显示磁盘的卷标和序列号,后接磁盘上目录和文件列表,包括它们的名称和最近修改的日期及时
间。dir 可以显示文件的扩展名以及文件的字节大小。Dir 也显示列出的文件及目录的总数、累计大小和磁盘上保留的可用空间(以字节为单
位)。