Understanding the FORKBOMB Batch Script

Hello everyone, hope you’re doing well.

In this post, I’d like to share a simple example of a classic batch script often referred to as a “Fork Bomb.” This is commonly used for educational and demonstration purposes to understand how system resources can be overwhelmed.

Step 1: Open Notepad

Open Notepad on your Windows computer.

Step 2: Enter the Following Code

%0|%0

Step 3: Save the File

Save the file with any name, but make sure to use the .bat extension.

Example:

example.bat

What Does It Do?

When executed, this batch script repeatedly calls itself, rapidly creating new processes. As a result, it can consume a large amount of CPU and memory resources, which may cause the computer to slow down, freeze, or crash temporarily.

Important Note

This script is intended strictly for educational purposes. Running such scripts on systems without permission is not recommended and may disrupt normal computer operation.

In most cases, restarting the computer will stop the process and restore the system to normal.

Comments

Popular posts from this blog

How to Shut Down Your Windows PC with a Double Click

How to Create a Matrix Effect Using Notepad (Simple Batch Script)

Simplest Way to Download YouTube Videos for Free