本文最后更新于2023年1月28日,已超过 30 天没有更新,如果文章内容或图片资源失效,请留言反馈,我们会及时处理,谢谢!
查询域名ip nslookup 域名
![](https://lala.fan/wp-content/uploads/2022/07/image-5.png)
查看目录cd 路径 [回车]dir
![](https://lala.fan/wp-content/uploads/2022/07/image-6.png)
更改cmd字体颜色help color[回车] color 选择数字
![](https://lala.fan/wp-content/uploads/2022/07/image-7.png)
![](https://lala.fan/wp-content/uploads/2022/07/image-8.png)
导出符号|,导出到剪贴板| clip
![](https://lala.fan/wp-content/uploads/2022/07/image-9.png)
命令连接符号&&
查询管理账号Net user
![](https://lala.fan/wp-content/uploads/2022/07/image-10.png)
创建管理员账号net user 账号名 账号密码 /add
删除管理账号net user 账号/del
禁用管理账号net user 账号 /active:no
查询账号情况net user 账号
![](https://lala.fan/wp-content/uploads/2022/07/image-11.png)
查询本机ip ipconfig
![](https://lala.fan/wp-content/uploads/2022/07/image-12.png)
查询本机完整ip ipconfig/all
![](https://lala.fan/wp-content/uploads/2022/07/image-13.png)
以上命令均需要加dos空格
运行程序start+空格+绝对路径
例如:start D:\桌面\MYQQ\myqq.exe
查询运行中程序tasklist
![](https://lala.fan/wp-content/uploads/2022/07/image-14.png)
终止程序进程taskkill /im 程序名.exe /f
例如taskkill /im Chrome.exe /f
![](https://lala.fan/wp-content/uploads/2022/07/image-15.png)
创建文件并写入内容
ECHO 内容>"盘符名:\绝对路径"
例如ECHO 测试>"C:\1.txt"
![](https://lala.fan/wp-content/uploads/2022/07/image-16.png)
删除文件:del 盘符名:\绝对路径
例如del C:\Users\Administrator\1.txt
![](https://lala.fan/wp-content/uploads/2022/07/image-17.png)
![](https://lala.fan/wp-content/uploads/2022/07/image-18.png)
返回上一层cd..
![](https://lala.fan/wp-content/uploads/2022/07/image-19.png)
重命名ren
例如ren C:\Users\qszs06112\1.txt 2.html
![](https://lala.fan/wp-content/uploads/2022/07/image-21.png)
改成mp3
ren C:\Users\qszs06112\1.txt 3.mp3
![](https://lala.fan/wp-content/uploads/2022/07/image-20.png)
批量修改后缀*
例如jpg改成txt ren *.png *.txt
![](https://lala.fan/wp-content/uploads/2022/07/image-22.png)
![](https://lala.fan/wp-content/uploads/2022/07/image-23.png)
复制粘贴文件 copy 绝对路径 绝对路径
![](https://lala.fan/wp-content/uploads/2022/07/image-24.png)
复制粘贴文件夹 xcopy 绝对路径 绝对路径
本教程由miaolik编写QQ840481202
blue sky官方群:586339437
Comments | NOTHING