
Windows2003命令大全.doc
19页Windows 2003 命令大全Forfiles [/P pathname] [/M searchmask] [/S][/C command] [/D [+ | -] {yyyy/MM/dd | dd}]描述:选择一个文件(或一组文件)并在那个文件上;执行一个命令这有助于批处理作业 参数列表:/P pathname 表示开始搜索的路径默认文件夹是当前工作的目录(.)/M searchmask 根据搜索掩码搜索文件默认搜索掩码是 '*'/S 指导 forfiles 递归到子目录像 "DIR /S"/C command 表示为每个文件执行的命令命令字符串应该用双引 号括起来默认命令是 "cmd /c echo @file"下列变量可以用在命令字符串中:@file - 返回文件名@fname - 返回不带扩展名的文件名@ext - 只返回文件的扩展@path - 返回文件的完整路径@relpath - 返回文件的相对路径@isdir - 如果文件类型是目录,返回 "TRUE";如果是文件,返回 "FALSE"@fsize - 以字节为单位返回文件大小。
@fdate - 返回文件上一次修改的日期@ftime - 返回文件上一次修改的时间要在命令行包括特殊字符,字符请以 0xHH 形式使用十六进制代码(例如,0x09 为 tab)内部 CMD.exe 命令前面应以 "cmd /c" 开始/D date 选择文件,其上一次修改日期大于或等于 (+),或者小于或等于 (-) 用 "yyyy/MM/dd" 格式指定的日期;或选择文件,其上一次修改日期大于或等于 (+)当前日期加 "dd" 天,或者小于或等于 (-) 当前日期减 "dd" 天有效的 "dd" 天数可以是 0 - 32768 范围内的任何数字如果没有指定,"+" 被当作默认符号/? 显示帮助消息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+ applicati。












