Board logo

标题: 每天一文:del命令微软官网翻译。12.11.12 [打印本页]

作者: silience    时间: 2012-11-12 10:37     标题: 每天一文:del命令微软官网翻译。12.11.12

本帖最后由 silience 于 2012-11-12 12:47 编辑

对本命令有任何疑问可留言回复
Del

Published: April 17, 2012
发表:2012.4.17
Updated: April 17, 2012
更新:2012.4.17
Deletes one or more files. This command is the same as the erase command.
删除一个或多个文件,这个命令和erase命令一样。
For examples of how to use this command, see Examples.
例如如何使用这个命令,查看例子.
Syntax
语法
________________________________________
del

[/f] [/q] [/a[:]<Attributes>] <Names>
erase

[/f] [/q] [/a[:]<Attributes>] <Names>
Parameters
参数
________________________________________

Parameter                             Description
参数                                          描述

<Names>
<名字>                                  Specifies a list of one or more files or directories. Wildcards may be used to delete multiple files. If a directory is specified, all files within the directory will be deleted.
                                          指定一个或多个文件/目录的列表。通配符可用来删除多个文件。日过制定一个目录,这个目录中的所有文件将会被删除。
/p                                          Prompts for confirmation before deleting the specified file.
                                          删除文件之前提示确认。
/f                                          Forces deletion of read-only files.
                                          强制删除只读文件。
/s                                          Deletes specified files from the current directory and all subdirectories. Displays the names of the files as they are being deleted.
                                          从当前目录和所有子目录中删除指定的文件。在删除的时候显示被删除的文件名。
/q                                         Specifies quiet mode. You are not prompted for delete confirmation.
                                         指定静默模式。你不会被提示是否确认删除。
/a[:]<Attributes>                         Deletes files based on the following file attributes:
                                         删除基于以下属性的文件:
r                                          Read-only files
                                           只读文件
h                                          Hidden files
                                            隐藏文件
i                                          Not content indexed files
                                            无内容索引文件
s                                          System files
                                            系统文件
a                                          Files ready for archiving
                                            准备存档的文件
l                                          Reparse points
                                            重分析点
- Prefix meaning 'not'
- 前缀表示’否’
/?                                         Displays help at the command prompt.
                                         在命令提示处显示帮助。




欢迎光临 批处理之家 (http://www.bathome.net/) Powered by Discuz! 7.2