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
?