MS-DOS is very powerful Operating System that makes you able to create batch files the .bat file. Batch files are created to run instructions in a batch. So many pranks and the virus can be created using this. This post will guide you how to create a simple virus prank that will hang anyone’s PC. Try this on your friend’s PC to annoy them 😛 
 

Steps

 
1) Open any text editor (Notepad) and Type
 
%0|%0 

2) Save it as a batch file that is file extension must be .bat.

3) This step is optional to check what is going to happen. Open task manager by pressing Ctrl + Alt + Del and click on performance tab to view the changes those are going to happen.

4) Run the batch file.

5) Within the few seconds, the performance of your machine will be degraded and 100% memory will be full and within a minute your machine will be hanged.

Explanation  

In Windows, “%0” is the name of the currently executing Batch File. By executing %0|%0, we are recursively calling the Batch File, thereby creating many processes and utilizing CPU resources up to a point where CPU cannot offer more resources to the processes which will be created(forked) after a certain amount of time.


Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Coding Tricks

How to get saved password in browser

Sometimes we have saved password on different websites. You can see the User Name but Password is in dots. In HTML language, User Name is visible because its type is text and Password field is in dots Read more…

Tricks

Download video from Facebook

Sometimes we watch videos on facebook and want to download it on phone/laptop. But facebook does not provide the download link to download the video on your device. This post will guide you how to Read more…

Javascript

console.log : Stylize console logging in browser

console.log() method logs any string to console window of the browser. But you know, there is a way to provide style to string message even we can draw images 😉 like in facebook prints in console window   Read more…