How to Create a Matrix Effect Using Notepad (Simple Batch Script)
📌 Introduction
Ever wondered how to create the iconic “Matrix-style” green text effect on your computer? With a simple Notepad trick and a small batch script, you can simulate a similar effect directly in the Command Prompt.
In this guide, you’ll learn how to create and run a Matrix-like animation using Notepad in just a few steps.
🛠️ Steps to Create Matrix Effect
Follow these instructions carefully:
Step 1: Open Notepad
- Press Windows + R
- Type notepad and press Enter
Step 2: Add the Script Code
Copy and paste the following code into Notepad:
@echo off
color 2
:matrix
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto matrix
Step 3: Save as a Batch File
- Click on File → Save As
- In “File Name”, type:
Matrix.bat - Change Save as type to All Files
- Click Save
Step 4: Run the File
- Double-click the saved
.batfile - A Command Prompt window will open displaying a Matrix-style animation
🎨 Customize the Effect
You can change the color by modifying this line in the script:
color 2
Common Color Codes:
0= Black1= Blue2= Green (Matrix style)4= RedF= Bright White
Example:
color A
⚠️ Important Note
- This script runs in an infinite loop
- To stop it, simply press Ctrl + C in the Command Prompt
📢 Conclusion
Creating a Matrix-style effect using Notepad is a fun and simple way to explore basic scripting in Windows. While it’s not the real movie effect, it’s a great beginner-friendly trick to understand how batch files work.
If you enjoyed this guide, feel free to share it and leave your feedback.
are wallpeper pe kase lagayege isse ye to btao
ReplyDelete