A (more like two's) simple recursive Windows Batch file that opens itself when triggered. Just for fun.
I wrote this when I was playing with the Windows 8.1 VM. Abusing its low RAM amount, I wanted to torture it a bit. If you want this to open an eternity of CMD windows and seeing, you can write this yourself and even better (this repo is useless though.)
Now this repo has two files, lol.bat
and l0l-alt.bat
. You can choose anything but the second one is just attempting to create some more junk files on your working directory with the
same effect when trying to reiteratively-opening a same file.
Warning: this seems perfectly for a troll but do it with care. It may affect system stability by using a lot of system memory and can eventually crash it. You have to be able to stop this by ending cmd.exe
process tree in Task Manager's Details tab or just end the process at Processes tab. It will be fun only if you can control the fun.
Update: fortunately, this troll is tested relatively safe and you can just hold-spamming Alt-F4 on the CMD windows, they will be closed, without other windows appearing.