1.显示文件和隐藏文件。在当前目录下shift+右键 选择cmd命令 运行
显示文件: attrib -s -h 文件名
隐藏文件: attrib -s +h 文件名
2.查看电脑支持的最大内存 在cmd下运行
wmic memphysical get maxcapacity
所得结果单位mb 所得/1024/1024 得到单位G
3.windows+R 输入 notepad 代开记事本
4.新建记事本将后缀改成.vbs输入
do
msgbox"你的电脑已经中毒"
loop
要停止的话方法如上输入
dim WSHshell
set WSHshell = wscript.createobject("wscript.shell")
WSHshell.run "taskkill /im wscript.exe /f ",0,true
点击播报语音输入
CreateObject("SAPI.SpVoice").Speak "欢迎光临我的电脑"
5.聊天内容制定发送次数
Set WshShell=Wscript.CreateObject("Wscript.Shell")
WshShell.AppActivate "文件"
for i=1 to 99
Wscript.sleep 99
WshShell. SendKeys "^v"
Wshshell. SendKeys i
Wshshell. SendKeys "%s"
Next
6.bat直接运行mysql命令
@echo off
d:
cd D:\xampp\mysql\bin
mysql -u root -h 127.0.0.1 -proot -e"use huayigou;select * from promo_info"
cmd /k