Last active
April 23, 2020 02:26
-
-
Save Moekka/2d9c4949400a316abd607517736899d0 to your computer and use it in GitHub Desktop.
[windows命令] windows下常用命令 #windows
This file contains hidden or 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
强制删除文件,必须有文件后缀名 | |
--- | |
del /f/s/q [file] |
This file contains hidden or 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
rmdir | |
--- | |
删除整个目录 | |
--- | |
rmdir /s/q [dir] | |
--- | |
/s: 删除所有子目录和内容 | |
/q: 不要在删除时,交互式提示yes/no | |
======= | |
强制删除文件夹及子目录内容 | |
rd /s/q [dir] | |
--- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment