window環境java
用記事本在電腦任意地方新建 xxx.bat文件blog
輸入如下內容(注:該內容不會對電腦形成傷害,只是娛樂而已)it
@echo OFF color 0a Title 病毒 Mode con cols=109 lines=30 echo .. echo 警告,你的電腦已被植入病毒,請勿亂觸動任何裝置,不然後果自負.. echo .. echo 病毒正在複製..5 ping -n 1 127.0.0.1>nul echo 病毒正在複製....10 ping -n 1 127.0.0.1>nul echo 正在刪除文件......15 ping -n 1 127.0.0.1>nul echo 病毒正在複製........20 ping -n 2 127.0.0.1>nul echo 病毒正在複製..........25 ping -n 2 127.0.0.1>nul echo 病毒正在複製............30 ping -n 2 127.0.0.1>nul echo 格式化磁盤.............35 ping -n 2 127.0.0.1>nul echo 病毒正在複製..............40 ping -n 2 127.0.0.1>nul echo 病毒正在複製................45 ping -n 3 127.0.0.1>nul echo 破壞Windows系統中..................50 ping -n 3 127.0.0.1>nul echo 病毒正在複製....................55 ping -n 3 127.0.0.1>nul echo 病毒正在複製......................60 ping -n 3 127.0.0.1>nul echo 電腦隨時黑屏........................65 ping -n 3 127.0.0.1>nul echo 病毒正在複製..........................70 ping -n 3 127.0.0.1>nul echo 病毒正在複製............................75 ping -n 4 127.0.0.1>nul echo 電腦已經損壞..............................80 ping -n 4 127.0.0.1>nul echo 病毒正在複製................................85 ping -n 4 127.0.0.1>nul echo 病毒正在複製..................................90 ping -n 4 127.0.0.1>nul echo 系統已經不可用....................................95 ping -n 4 127.0.0.1>nul echo 病毒正在複製......................................100 ping -n 4 127.0.0.1>nul echo 病毒複製完成,電腦5秒後關機 ping -n 5 127.0.0.1>nul echo 正在關機 echo . ping -n 1 127.0.0.1>nul echo ... ping -n 2 127.0.0.1>nul echo ...... ping -n 3 127.0.0.1>nul echo .......... ping -n 4 127.0.0.1>nul echo ............... ping -n 5 127.0.0.1>nul echo 恭喜你已經成功被我騙了......... ping -n 20 127.0.0.1>nul
保存,而後雙擊 xxx.bat 容許,出現以下效果class