add new chinese translations
This commit is contained in:
@@ -1,37 +1,37 @@
|
||||
# del
|
||||
|
||||
> 删除一个或多个文件。
|
||||
> 在 PowerShell 中,此命令为 `Remove-Item` 的別名。本页的描述是基于命令提示符 (`cmd`) 中的 `del`。
|
||||
> 更多信息:<https://learn.microsoft.com/windows-server/administration/windows-commands/del>.
|
||||
> 在 PowerShell 中,此命令是 `Remove-Item` 的别名。本文件基于命令提示符(`cmd`)版本的 `del`。
|
||||
> 更多信息:<https://learn.microsoft.com/windows-server/administration/windows-commands/del>。
|
||||
|
||||
- 查阅 PowerShell 的对应命令:
|
||||
- 查看等效 PowerShell 命令的文档:
|
||||
|
||||
`tldr remove-item`
|
||||
|
||||
- 删除一个或多个文件 (可使用通配符):
|
||||
- 删除一个或多个文件或模式:
|
||||
|
||||
`del {{文件1 文件2 ...}}`
|
||||
`del {{file_pattern1 file_pattern2 ...}}`
|
||||
|
||||
- 在删除每个文件之前提示确认:
|
||||
|
||||
`del {{文件}} /p`
|
||||
`del {{file_pattern}} /p`
|
||||
|
||||
- 强制删除只读文件:
|
||||
|
||||
`del {{文件}} /f`
|
||||
`del {{file_pattern}} /f`
|
||||
|
||||
- 递归删除所有子目录中的文件:
|
||||
|
||||
`del {{文件}} /s`
|
||||
`del {{file_pattern}} /s`
|
||||
|
||||
- 在基于全局通配符删除文件时不提示确认:
|
||||
- 基于全局通配符删除文件时不提示:
|
||||
|
||||
`del {{文件}} /q`
|
||||
`del {{file_pattern}} /q`
|
||||
|
||||
- 显示帮助和所有的属性列表:
|
||||
- 显示帮助并列出可用属性:
|
||||
|
||||
`del /?`
|
||||
|
||||
- 根据指定的属性删除文件:
|
||||
- 根据指定属性删除文件:
|
||||
|
||||
`del {{文件}} /a {{属性}}`
|
||||
`del {{file_pattern}} /a {{attribute}}`
|
Reference in New Issue
Block a user