windows常用cmd命令

windows常用cmd命令

  1. 磁盘扫描(管理员下)
copy
chkdsk
  1. 磁盘自动扫描并修复问题(管理员下)
copy
sfc /scannow
  1. 查看文件使用的历史记录
copy
recent
  1. 微信多开
copy
start "" "应用路径"
start "" "应用路径"
start "" "应用路径"
  1. 微信QQ短信轰炸 (txt -> vbs)
copy
set wshshell=wscript.createobject("wscript.shell")
wshshell.AppActivate"对方昵称"
for i=1 to 1000
wscript.sleep 100
wshshell.sendKeys "^v"
wshshell.sendKeys "%s"
next
  1. 无限开启cmd
copy
:start
start cmd
go to cmd
  1. 开关机
copy
关机:shutdown /s
重启:shutdown /r
注销:shutdown /l 或 logoff
休眠:shutdown /h /f
取消关机:shutdown /a
定时关机:shutdown /s /t 3600(3600 秒后关机)
  1. 清除本地 DNS 缓存
copy
ipconfig /flushdns
  1. 路由追踪
copy
tracert ip/域名
  1. 显示当前正在运行的进程
copy
tasklist
  1. 清屏
copy
cls
  1. 查看文本文件内容
copy
type [path\to\file]
  1. 查看两个文本文档的不同之处
copy
fc [path\to\file1] [path\to\file2]
  1. 磁盘管理实用程序
copy
diskmgmt.msc
  1. 启动计算器
copy
calc
  1. 检查DirectX信息
copy
dxdiag
  1. 注册表
copy
regedit
  1. 系统配置实用程序
copy
msconfig
  1. 计算机性能监测程序
copy
perfmon
  1. 组策略
copy
gpedit.msc
  1. IP地址侦测器
copy
nslookup
  1. 本地服务设置
copy
services.msc
  1. 卓越功能
copy
powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61
  1. 上帝模式(创建个文件夹重命名为下面代码)
copy
上帝模式.{ED7BA470-8E54-465E-825C-99712043E01C}.
  1. 强制删除文件代码(txt -> bat)
copy
DEL /F /A /Q \\?\%1RD /S /Q \\?\%1
  1. TCP/IP协议或Winsock损坏问题
copy
netsh interface ipv4 resetnetsh interface ipv6 resetnetsh winsock reset
  1. 清空arp缓存
copy
arp -d
  1. 疯狂弹窗(保存成bat)
copy
:astart bgo to a
  1. 路由查询
copy
route print
  1. 查看文件的md5校验码、sha1校验码和sha256校验码
copy
# 查看文件的md5校验码certutil -hashfile filename MD5
# 查看文件的sha1校验码certutil -hashfile filename SHA1
# 查看文件的sha256校验码certutil -hashfile filename SHA256
  1. 打开证书管理器
copy
certmgr.msc
posted @   Tame-complexity  阅读(295)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
🚀