常用命令
按类型合并文件
dir
type *.sql >> ../init_database.sql
关闭java进程
netstat -aon|findstr "8080"
taskkill -PID 8372 -F
控制面板-卸载程序
appwiz.cpl
刷新DNS缓存
ipconfig /flushdns
批处理文件 bat
:: 注释内容
打印目录树 tree
tree >> ../tree.txt
删除文件夹
rmdir /s /q 文件夹名
测试远端端口并发送文件
telnet ip port
# 使用 ctrl + ] 进入命令行页面
# 输入字符串可发送命令
# https://learn.microsoft.com/zh-cn/windows-server/administration/windows-commands/telnet-send
sen {ao | ayt | brk | esc | ip | synch | <string>} [?]