-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rmdir, shutdown, whoami, winget: update Chinese translation (#15022)
* rmdir, shutdown, whoami, winget: update Chinese translation * Update pages.zh/windows/winget.md Co-authored-by: Ein Verne <[email protected]> * Update pages.zh/windows/winget.md Co-authored-by: Ein Verne <[email protected]> --------- Co-authored-by: Ein Verne <[email protected]>
- Loading branch information
1 parent
7e2a72b
commit a7a3ab4
Showing
4 changed files
with
58 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,21 @@ | ||
# rmdir | ||
|
||
> 删除一个目录和其中的内容。 | ||
> 删除目录及其内容。 | ||
> 在 PowerShell 中,此命令是 `Remove-Item` 的别名。此文档基于 `cmd` 版本的 `rmdir`。 | ||
> 更多信息:<https://learn.microsoft.com/windows-server/administration/windows-commands/rmdir>. | ||
- 查看等效的 PowerShell 命令的文档: | ||
|
||
`tldr remove-item` | ||
|
||
- 删除一个空目录: | ||
|
||
`rmdir {{目录的路径}}` | ||
`rmdir {{路径\到\目录}}` | ||
|
||
- 递归删除一个目录及其中的内容: | ||
- 递归删除目录及其内容: | ||
|
||
`rmdir {{目录的路径}} /s` | ||
`rmdir {{路径\到\目录}} /s` | ||
|
||
- 在没有提示的情况下递归删除目录及其内容: | ||
- 递归删除目录及其内容,无需提示: | ||
|
||
`rmdir {{path/to/directory}} /s /q` | ||
`rmdir {{路径\到\目录}} /s /q` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,36 @@ | ||
# shutdown | ||
|
||
> 用于关闭,重新启动或注销计算机的工具。 | ||
> 用于关闭、重启或注销计算机的工具。 | ||
> 更多信息:<https://learn.microsoft.com/windows-server/administration/windows-commands/shutdown>. | ||
- 关闭当前的计算机: | ||
- 关闭当前计算机: | ||
|
||
`shutdown /s` | ||
|
||
- 休眠当前的计算机: | ||
- 强制关闭当前计算机的所有应用程序: | ||
|
||
`shutdown /s /f` | ||
|
||
- 立即重启当前计算机: | ||
|
||
`shutdown /r /t 0` | ||
|
||
- 休眠当前计算机: | ||
|
||
`shutdown /h` | ||
|
||
- 注销当前的计算机: | ||
- 注销当前计算机: | ||
|
||
`shutdown /l` | ||
|
||
- 指定在关闭之前等待的时间(以秒为单位): | ||
- 指定在关闭前等待的秒数: | ||
|
||
`shutdown /s /t {{秒}}` | ||
|
||
- 在超时之前取消关机指令: | ||
- 中止尚未超时的关机序列: | ||
|
||
`shutdown /a` | ||
|
||
- 关闭远程的计算机: | ||
- 关闭远程计算机: | ||
|
||
`shutdown /m {{\\ 主机名}}` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters