-
cmd
常用命令大全
cmd
运行命令
cmd
常用命令大全
2K
和
XP
下的
CMD
命令
>
辅助工具向导
> acs
setup dcom server executable
>
直接显示安装工具
>
允许程序打开制定目录中的数据
>
显示和更改计算机的
ip
与硬件物
理地址的对应列表
>
计划运行任务
>
调用管理器统计
>
显示和更改文件和文件夹属性
>
检测修复文件系统
>
在启动过程中自动转化系统
>
在启动过程中格式化进程
>
使用长文件名格式
>
boot acceptance application for registry
>
通报启动成功
>
显示和编辑
acl
>
计算器
> cd
播放器
>
与终端服务器相关的查询
>
字符映射表
>
启动或停用会话记录
>
改变端口(终端服务)
>
改变用户(终端服务)
>
磁盘检测程序
>
磁盘检测程序
>
组成
ci
文档服务
>
在
ntfs
上显示或改变加密的文件或目录
>
索引内容
>
变换
cookie
>
磁盘清理
> sql
客户网络工具
>
剪贴簿查看器
>
运行
clipboard
服务
>
建立系统文件列表清单
>
显示域的集群
_cmd_.exe >
没什么好说的!
>
自动下载连接管理
>
连接管理器
>
连接管理器监视
>
连接管理器配置文件安装程序
>
集群
>
比较两个文件和文件集的内容*
>
显示或改变
ntfs
分区上文件的
压缩状态
>
ime
控制台
>
控制面板
>
转换文件系统到
ntfs
>
转换
iis
日志文件格式到
ncsa
格式
>
转换显示模式
>
较本宿主版本
>
客户服务器
runtime
进程
< br>
>
日至格式转换程序
>
和
terminal
server
相关
>
dcom
配置属性
> ?
> ad
安装向导
> dde
共享
>
>
就是
debug
啦!
>
fat
分区磁盘碎片整理程序
> ntfs
分区磁盘碎片整理程序
dfs_cmd_.exe >
配置一个
dfs
树
>
分布式文件系统初始化
>
分布式文件系统服务器
> <
/p>
制作
cab
文件
>
磁盘性能计数器
>
所有
com+
< br>应用软件的主进程
>
>
磁盘管理服务
>
磁盘管理服务的一部分
> dns applications dns
>
命令行创建宏
>
dos
扩展
>
直接运行帮助
>
华生医生错误检测
>
华生医生显示和配置管理
>
installs mdtc
>
dvd
播放
>
direct-x
诊断工具
>
命令行的文本编辑器(历史悠久啊!)
>
命令行的文本编辑器(历史悠久啊!)
> ms
数据库工具
> type
造字程序
>
事件查看器
evnt_cmd_.exe > event to trap
translator; configuration tool
>
event to trap translator setup
>
转换
exe
文件到二进制
>
解压缩
>
解
cab
工具
>
快速访问在内存中的硬盘文件
>
传真封面编辑
>
显示传真队列
>
发送传真向导
>
启动传真服务
>
比较两个文件的不同
>
查找文件中的文本行
>
查找文件中的行
>
一个用户并显示出统计结果
>
修复
mapi
< br>文件
>
允许或者禁用临时文件目录
>
显示字体文件中的字体
>
forces a file to start in dos mode.
强制文
件在
dos
模式
下运行
> popular windows game
空当接龙
> file
transfer protocol used to transfer files over a
networ
k conne
ction
就是
ftp
了
> graphic device interface
图形界面驱动
>
> program manager group convertor
转换程序管理员组
>
displays help for windows 2000 commands
显示帮助
> display
hostname for machine.
显示机器的
hostname
> ie5 user install tool
ie5
用户安装工具
>
customize folder wizard
自定义文件夹向导
>
create and setup packages for install
穿件安装包
>
restart iis admin service
重启
iis
服务
>
keyboard language indicator applet
键盘语言指示器
>
windows 2000 ip configuration.
察看
ip
配置
> ip security monitor
ip
安全监视器
> ipx
routing and source routing control program
ipx
路由
和源路由
控制程序
> setup
ftp for wireless communication
无线连接
>
intersite messaging service
安装或者删除
service control manage
r
中的服务
> microsoft debugger for java 4
java4
的调试器
>
convert a jet engine database
转换
jet
engine
数据库
>
compact jet database.
压缩
jet<
/p>
数据库
> command-
line loader for java
java
的命令行装载者
>
core component for windows 2000
2000
的核心组件
>
change label for drives
改变驱动器的卷标
>
license compliance wizard for local or remote
systems.
许
可证符合
向导
> ldif cmd
line manager ldif
目录交换命令行管理
> terminal server license manager
终端服务许可协议管理
>
display connection status lights
显示连接状况
>
windows 2000 license manager
2000
许可协议管理
>
start the license server
启动许可协议服务器
>
> rpc locator
远程定位
> load
perfmon counters
调用性能计数
> log current user off.
注销用户
>
displays status of a remote lpd queue
显
示远端的
lpd
打印队
列的状态,
p>
显示被送到基于
unix
的服务器的打印任务
> send a
print job to a network printer.
重定向打印任务到网络
中的打印
机。
通常用于
unix
客户打印机将打印任务发送给连接了打印设备的
nt
的
打印机
服务器。
> lsa executable and server dll
运行
lsa
和
server
的
dll
>
specifies the new dns domain for the default
server
指
定默认
se <
/p>
rver
新的
dns
域
> an os/2 warp server
(os2 /o) os/2
> an os/2 warp server
os/2
> an os/2 warp server os/2
> on screen keyboard
屏幕键盘
> windows
2000 packager manager
对象包装程序
> combination of ping and tracert
包含
ping
和
tra
cert
的程
序
> is a posix program and path names
used as arguments must be
specif
ied in posix format. use
lt.
启动便携式存档互换
(pax)
实用程序
>
used to check the pentium for the floating point
divisio
n error
.
检查
pentium
的浮点错误
> starts windows performance monitor
性能监视器
> packet
internet groper
验证与远程计算机的连接
> used for backward compatibility with
unix
用于兼容
unix
> cmd line used to print files
打印文本文件或显示打印队列的
内容。
> program manager
程序管理器
>
profile quota program
> posix
subsystem application
posix
子系统应用程序
>
displays the available application terminal
servers on
the net
work
在网络上显示终端服务器可用的程序
> display information about processes
local or remote
在
本地或远
程显示进程的信息(需终端服务)
> query termserver user process and
sessions
查询进程和对
话
> display information about a user
logged on
显示用户登陆的
信息(需
终端服务)
>
display information about terminal sessions.
显示终端服
务的信息
> start the remote access
admin service
启动远程访问服
务
> creates a ras connection
建立一个
ras
连接
> dial a connection
拨号连接
> starts
a ras connection
运行
ras
连接
> copies a file
from and to a rcp service.
在
windows 2000
计
算机和运
行远程外壳端口监控程序
rshd
的系统之间复制文件
>
rdpclip allows you to copy and paste files between
a te
rminal
session and
client console session.
再终端和本地复制和粘贴文件
> recovers readable information from a bad or
defective d
isk
从坏
的或有缺陷的磁盘中恢复可读取的信息。
> starts the redirector service
运行重定向服务
>
32-bit register service
32
位注册服务
>
modify registry permissions from within a script
用脚本
修改注册
许可
> register
a program so it can have special execution
ch
aracter
istics.
注册包含特殊运行字符的程序
>
> registers and unregister's
dll's. as to how and where
it regi
ster's them i dont know.
注册和反注册
dll
>
options to tune debug options for applications
failing
to dum
p trace
statements
trace
设置
>
registration wizard
注册向导
>
> replace files
用源目录中的同名文件替换目标目录中的文
件。
> reset an active section
重置活动部分
> runs
commands on remote hosts running the rexec
service.
在运行
rexec
服务的远程计算机上运行命令。
rexec
< br>命令在执行指定命令前,
验证远程
计算机
上的用户名,只有安装了
tcp/ip
协议后才可以使用该命令。
>
starts the remote installation service wizard.
运行远程
安装向导
服务
> display
or edit the current routing tables.
控制网络路由
表
> no longer supported
不再支持了!
>
router software that runs either on a dedicated
dos or o
n an os
/2 system.
route
软件在
dos
或者是
p>
os/2
系统
> runs commands on remote hosts
running the rsh service
在运
行
rsh
服
务的远程计算机上运行命令
>
mounts and configures remote system media
配置远程系统媒体
>
remote storage notification recall
远程存储通知回显
>
resource reservation protocol
源预约协议
> run a
program as another user
允许用户用其他权限运行指定
的工具和
程序
> launches
a 32-bit dll program
启动
32
位
dll
程序
> causes a program to run during
startup
运行程序再开始菜
单中
> reset the session subsystem hardware
and software to kn
own ini
tial values
重置会话子系统硬件和软件到最初的值
> does not write to e:
不写入
中
> smart card resource management
server
子能卡资源管理服
务器
> it will read the schema update files
(.ldf files) and u
pgrade
the schema. (part of adsi)
读取计划更新文件和更新计划
> starts security editor help
自动安全性配置管理
>
controls all the services
控制所有服务
> set
high contrast - changes colours and display mode
logo
ff to s
et it back to
normal
设置高对比
>
shows the software publishing state key values
显示软件
发布的国
家语言
> gui box
prompts you to goto control panel to configure
sy
stem co
mponents
安装程序(转到控制面板)
>
set version for files
设置
ms-
dos
子系统向程序报告
的
ms-
dos
版本
号
> system
file checker test and check system files for
integri
ty
系统
文件检查
> print
services for macintosh
打印
mac
intosh
服务
>
>
> monitor another
terminal services session.
监控另外一台
中端服务
器会话
> windows
2000
和
ms-dos
子系统
不使用该命令。接受该命令只是
为了与
ms-dos
文件兼容
>
> create and share
folders
建立和共享文件夹
> file signature verification
文件签名验证
>
serial keys utility
序列号制作工具
> performance logs and alerts
性能日志和警报
>
> starts the windows sound recorder
录音机
> display
the current volume information
显示声音控制信
息
> simple network management protocol
used for network mangem
ent
简单
网络管理协议
>
utility used with snmp
snmp
工具
>
windows solitaire game
纸牌
> compares files and folders
读取输入、
排序数据并将结果写到屏
幕、文
件和其他设备上
> Part of the spooler service for printing
打印池服务的一
部分
>
> Starts the Windows
Server Manager
服务器管理器
> WDM StillImage- > Monitor
> WDM StillImage- > Service
> Associates a path with a drive
letter
将路径与驱动器盘符
关联
> is a generic host process name for
services
that a
re run
from dynamic-link libraries (DLLs).
DLL
得主进程
>
Creates Windows Briefcase.
创建
Windows
文件包
>
Opens Editor for 4 system files
系统配置编辑器
>
Encrypt and secure system database
NT
账号数据库按群工具
>
Windows 2000 Setup 2000
安装程序
> Starts the systray in the lower
right corner.
在低权限
运行
syst
ray
> Used for managing
MACFILES
管理
MACFILES
> Used to magnify the current screen
放大镜
> MS
Cabinet Maker
制作
CAB
文件
> Machine Debug
Manager
机器调试管理
> Display current Memory stats
显示内存状态
>
Migrate passwords.
迁移密码
> Microsoft Management Console
控制台
>
Netmeeting Remote Desktop Sharing
NetMeeting
远程桌面共
享
> Manage Synchronization.
同步目录管理器
>
Creates, deletes, or lists a volume mount point.
创建、
删除或
列出卷的装入点。
> MS
Media Player
媒体播放器
> Multiple Provider Notification
application
多提供者通
知应用程
序
>
> MS Message Queue Backup and Restore
Utility
信息队列备份
和恢复工
具
> MSMQ
Exchange Connector Setup
信息队列交换连接设置
>
MSMQ Migration Utility
信息队列迁移工具
> ?
> Multicast routing using SNMP
使用
SNMP
多点传送路由
> Installs MSCD (MS CD Extensions)
安装
MSCD
>
Dynamic Transaction Controller Console
动态事务处理控制
台
> Send a message to a user local or
remote.
发送消息到本地或
远程客户
> HTML Application HOST
HTML
应用程序主机
>
Starts Windows Installer Program
开始
Windows
安装程序
> Microsoft Paint
画板
>
> Task Schedule Program
任务计划表程序
> Task
scheduler setup
任务计划表安装
> Program will allow you to have a
narrator for reading.
Micros
oft
讲述人
> Displays protocol stats and current
TCP/IP connections
using N
BT
使用
NBT
(
TCP/IP
上的
NetBIOS
)显示协议统计和当前
TCP/IP
连接。
> NDDE API
Server side NDDE API
服务器端
> Net Utility
详细用法看
< br>/
?
> Net
Utility updated version from MS
Net
的升级版
>
Network DDE will install itself into the
background
安装
自己到后
台
> Creates a
shell for network information
用于配置和监
控
Windows 2
000
命令行脚本接口。
> Displays current connections.
显示协议统计和当前
的
TCP/IP
网络
连接。
> Loads
country-specific information
加载特定国家(地区)
的信息。
Windows 2000
和
MS-DOS
子系统不使用该命令。接受该命令只是为了
与<
/p>
MS-DOS
文件兼
容。
> Opens
Windows 2000 Notepad
记事本
> Displays information for DNS
该诊断工具显示来自域名系
统
(DNS)
名称服务器的信息。
> Opens the NT Backup Utility
备份和故障修复工具
>
Starts Windows Help Utility
帮助
> Performs
DB maintenance of the ADSI
完成
ADSI
的
DB
的维
护
> NT File
Replication Service NT
文件复制服务
>
> Kernel patch
核心补丁
> Core NT
Kernel KT
的核心
>
> Simulates a 16-bit Windows
environment
模拟
16
位
Windows
环
境
< br>
> Netware Redirector
NetWare
转向器
>
runs netware scripts
运行
Netwa
re
脚本
> ODBC
32-bit Administrator 32
位
ODBC
管理
> Configure
ODBC driver's and data source's from
command
line
命
令行配置
ODBC
驱动和数据源
> Task Manager
任务管理器
> Starts
the Windows 2000 Task Manager
任务管理器
>
telephony client wizard
电话服务客户安装
> TCP
Services TCP
服务
.exe > Telnet Utility used to connect
to Telnet Server
> Terminal Server
终端服务
> Trivial
FTP
将文件传输到正在运行
TFTP
服务的远程计算机或从
正在运行
TFTP
服务的远程计算机传输文件
> Trivial FTP Daemon
>
Change Windows Themes
桌面主题
> Telnet Server Administrator
Telnet
服务管理
>
Display the current Telnet Sessions
显示目
前的
Telnet
会话
> Start the Telnet Server
开
始
Telnet
服务
> Trace a route to display paths
该诊断实用程序将包含不同
生存时间
(TTL)
值的
Internet
控制消息协议
(ICMP)
回显数
据包发送到目标,
以决定到
达目标
采用的路由
>
Terminal Server Administrator
终端服务管理器
>
Attaches a user session to a terminal session.
粘贴用户会
话到终端
对话
>
Disconnect a user from a terminal session
断开终端服务
的用户
> Kill a Terminal server process
杀掉终端服务
> Used
with Terminal Server to query results.
用终端服务得
出查询结
果
> Shutdown
the system
关闭系统
> Part of performance monitoring
性能监视器的一部分
>
Upgrade a jet database
升级
Jet
数据库
> UPS
service UPS
服务
> Core Windows Service
Windows
核心服务
>
Part of the winlogon process
Winlogon
进程的一部分
> Start the windows user manager for domains
域用户管理器
> This
tool enables an administrator to designate which
c
omputers automatically open
accessibility tools when Windows 2000
sta
rts.
指定
2000
启动时自动打开那台机器
>
Driver Verifier Manager Driver Verifier Manager
> Loads IPX/SPX VDM
调用
IPX/SPX VDM
> Windows Time Server
时间服务器
> Used to extract windows files
解压缩
Windows
文件
> Opens Windows Chat
打开
Windows
聊天
> Starts the Windows Help System
运行帮助系统
> Used
as part of the logon process.
Logon
进程的一部分
>
windows Game
挖地雷
> Windows Diagnostic utility
系统信息
> Wins
Service Wins
服务
> Print Routing
打印路由
> Displays the current version of
Windows
显示
Windows
版
本
> Starts
Windows Administration Wizards
Windows
管理向导
>
Command line loader for Java
命令行调用
Java
> .
For starters, the 32-bit APIs require that the
WOWDEB.
EXE tas
k runs in
the target debugee's VM
启动时,
32
位
API
需要
> For running Windows over
Windows Applications
在
Window
s
应用程序
上运行
Windows
> ?
> Starts MS Write Program
写字板
> Windows
Scripting Utility
脚本工具
> Starts the Windows update Wizard
(Internet)
运行
Windows
< br>升级向导
>
复制文件和目录,包括子目录
Win XP
控制台命令详解
Win
XP
(包括
2000
)的控制台命令是
在系统出现一些意外情况下的一种非
常有效的
诊断和测试以及恢复系统功能的工具。
小编的确一直都想把这方面的命令做
个总
结,这
次辛苦老范给我们整理了这份实用的秘笈。
第一部分:文件和目录操作命令
Attrib
Batch
Chdir (Cd) Copy
Delete
(Del)
Expand Mkdir (md)
Rmdir (Rd)
Type
More
第二部分:系统和磁盘操作命令
Bootcfg
hkdsk
Diskpart Fixboot
Fixmbr
format Map
第三部分:辅助操作和特殊功能命令
Cls
Disable
Enable Exit
Help
commandname Listsvc
Logon
Net use
Set
Systemroot
Attrib
更改单个文件或目录的属性。该命
令设置或删除指派给文件或目录的只读、
系统、
存档、隐藏以及压缩属性。
含有下列参数的
attrib
命令
仅当使用故障恢复控制台时才可用。
含有不同
参数的
attrib
命令可在命令提示符中使用。
attrib [ +r|-r]
[ +s|-s] [ +h|-h] [ +c|-c] [ [ drive:] [ path]
filena
me]
参数
+r
设置只读属性。
-r
清除只读属性。
+s
设置系统属性。
-s
清除系统属性。
+h
设置隐藏属性。
-h
清除隐藏属性。
+c
设置压缩属性。
-c
清除压缩属性。
[ [
drive:] [ path] filename]
指定要处理的目录或文件的位置和
名称。
可以一次只更改一个文件,
也可以
更改整
个目录。
注意:可以用一个命令更改一个文件或目录的多个属性。
Batch
执行在文本文件中指定的命令。
batch
< br>命令仅在使用故障恢复控制台时才可
用。故
障恢复控制台可以从安装
CD
中启动。
batch
input_file [ output_file]
参数
input_file
指定包含要执行的命令列表的文本文件。
Input_file
可以由驱动器号和冒
号、目录
名、文件名或它们的组合构成。
output_file
如果指
定,
则在命名文件中存储命令输出。如果没有指定,
输出将显示
在屏
幕上。
范例
下例将执行批处理文件
C:
并将输出存储在文件
C:
中:
batch c: c:jobs
注意:批处理文件不能包含嵌套的
batch
命令。
Chdir
(
Cd
)
显示当前目录的名称,或更改当前的文件夹。
含有下列参数的
chdir
命令仅
在使用故障恢复控制台时才可用。可在命令
提示符下
使用带有不同参数的
chdir
命令。
chdir [drive:]
[path] [ ..]
或者
cd [drive:] [ path] [ ..]
参数
无
如果不带任何参数,
chdir <
/p>
将显示当前驱动器和文件夹的名称。
只与驱动器
< br>号一起
使用(例如
cd
C:
),
chdir
将显示指定驱动器上的当前目录。
[
drive:] [ path]
指定要改到的驱动器(如果不是当前驱动器)和目录。
[
..]
指明要改到父文件夹。在
chdir
和两个句点之间插入一个空格。
注意
Chdir
将空格视作分隔符。用引号将包含空格的目录名扩起来。例如:
cd
Chdir
只适用于当前
Windows
安装
的系统目录、可移动媒体、硬盘分区的根目
录或本地
安装源。
Copy
将单个文件复制到其他位置。
p>
含有下列参数的
copy
命令仅在使用故障恢复
控制台
时才可用。
可在命令提示符下使用带不同参数的
copy
命令。
copy source [
destination]
参数
source
指定要被复制的文件的位置和名称。
Source
可由驱动器号和冒号、
目录名、
文件名
或组合所组成。
destination
指定要复制到其中的文件或文件集的位置和名称。
Destination
可以由驱动
器号和
冒号、文件夹名、文件名及组合而组成。
注意
源可以是可移动媒体、当前
Windows
安装的系统目录中的任何目录、驱动器的
根目录、
本地安装源或
Cmdcons
目录。
目标可以是除可移动媒体
以外的任何与源相同的位置。
如果没有指定目标,
则默
认为当
前目录。
Windows
安装
CD
中的压缩文件在复制过程中解压缩。
Copy
不支持通配符。
Delete
(
Del
)
删除单个文件。含有下列参数的
delete
或
del
命令仅在使用故障恢复控
制台时才
可用。可在命令提示符下使用带有不同参数的
delete
或
del
命令。
delete [
drive:] [ path] filename
或者
del [ drive:] [
path] filename
参数
[ drive:] [
path]
filename
指定要删除的文件的位置和名称。
注意
Delete
只适用于当前
Windows
安装的系统目录、
可移动媒体、
硬盘分区的根目
录或本
地安装源。
Dir
显示目录中的文件和子目录列表。含有下列参数的
dir
命令仅在使用故障
恢复控制
台时才可用。可在命令提示符下使用带有不同参数的
dir
命令。
dir [ drive:] [
path] [ filename]
参数
[ drive:] [
path]
指定要查看列表的驱动器和目录。
[
filename]
p>
指定要查看列表的特定文件或一组文件。
可以使用多个文件名。
p>
文件名可以
用空格
、逗号或分号隔开。可以在
filename
参数中使用通配符(
?
和
*
)显示一组文
件。
Dir
还列出磁盘的卷标和序列号,
以及所列文件的数目,
累计大小和磁盘上
剩余的
可用空间(以字节计)。对于每个文件和子目录而言,
dir
列出文件的扩展名、
文件字
p>
节数、文件的最后修改日期和时间以及下列文件属性(如果可用):
缩写
属性
d
目录
h
隐藏文件
s
系统文件
e
加密
r
只读
a
存档文件
c
已压缩
p
重新分析点
注意:
Dir
仅适用于当前
Windows
安装
的系统目录、可移动媒体、硬盘分区的根
目录或本
地安装源。
Expand
从压缩
文件中提取文件。
通过该命令可从
.cab
文件或压缩文件中提取驱动
程序文
件。
含有下列参数的
expand <
/p>
命令仅在使用故障恢复控制台时才可用。
可在命令
提示符
下使用带有不同参数的
expand
命令。
expand source [
/F:filespec}] [ destination] [ /d] [ /y]
参数
source
指定要展开的文件。
如果源文件只包含一个文件,
请使用该选项。
sou
rce
可
由驱动
器号和冒号、目录名、文件名或组合所组成。不能使用通配符。
/f:size
如果源文件包含多个文件,
指定要提
取的文件的名称。
可以对要提取的文件
使用通
< br>
配符。
destination
指定提取文件或每个单独文件的目标目录和(或)文件名。
/d
列出
CAB
文件中包含的文件而不展开或提取。
/y
在展开或提取文件时不出现覆盖提示。
范例
下例将从安装
CD
上的驱动程序
CAB
文件中提取
文件并将其
复制到
C:WindowsSystemDrivers
:
expand d:: c:windowssystemdrivers
下例将展开压缩文件
_
:
expand d:_c:
下例将列出安装
CD
上的驱动程序
CAB
文件中的所有文件。
expand /d d:
要点
驱动程序
CAB
文件包含成千上万的文件,
其中包括由
Windows
提供的大部分驱
动程序
。将所有文件从
CAB
文件展开到
硬盘上需要花较长的时间和大量的磁盘空间。
建议
仅
从该文件中提取需要的文件。
注意
如果没有指定目标,文件将被复制到当前目录。
不能将软盘驱动器或
CD-ROM
等可移动媒体指定为目标。
Mkdir
(
md
)
创建目录或子目录。含有下列参数的
mkdir
命令仅在使用故障恢复控制台
时可用。
可在命令提示符下使用带不同参数的
mkdir
命令。
mkdir [ drive:]
path
或者
md [ drive:] path
参数
drive:
指定要创建新目录的驱动器。
path
指定新目录的名称和位置。不能使用通配符。
注意
Mkdir
仅适用于当前
Windows
安装的系统目录、可移动媒体、硬盘分区的根目
录或本地
安装源。
Rename
(
Ren
)
更改单个文件的名称。
含有下列参数的
rename
命令仅在使用故障恢复控制
台时可
用。可在命令提示符下使用带不同参数的
rename
命令。
rename [
drive:] [ path] filename1 filename2
或者
ren
[ drive:] [ path] filename1 filename2
参数
[ drive:] [ path] filename1
指定要重新命名的文件的位置和名称。不能使用通配符。
filename2
为文件指定新的名称。重新命名文件时不能指定新的驱动器或
路径。
Rmdir
(
Rd
)
删除目录。含有下列参数的
rmdir
命令仅在使用故障恢复控制台时可用。
可在命令
提示符下使用带不同参数的
mdir
命令。
rmdir [ drive:]
path
或者
rd [ drive:] path
参数
[ drive:] path
指定要删除的目录的位置和名称。不能使用通配符。