← Back to home

CMD Hacker Prank: How to Make Command Prompt Look Like You're Hacking

Last reviewed on June 12, 2026.

Every movie hacker has the same setup: a black window, green text, and lines of output scrolling faster than anyone could read. You can recreate that on any Windows machine in under a minute — using completely harmless, built-in commands that just look dramatic. This guide covers the real-CMD version of the prank, a copy-paste "Matrix" batch file, and the zero-effort option.

Everything on this page is harmless. The commands below only read and display information — they don't change settings, delete anything, or touch the network beyond a standard ping. Still, the golden rule applies: never type commands you don't understand into a terminal, and never run a script someone sends you without reading it first.

The 30-second version

  1. Press Win + R, type cmd, hit Enter.
  2. Type color 0a and press Enter — instant green-on-black hacker palette.
  3. Type title SYSTEM ACCESS — UNAUTHORIZED to set the window title.
  4. Type tree C:\ or dir /s and let the scroll do the work.
  5. Press Alt + Enter for fullscreen (or maximize the window).

Harmless CMD commands that look like hacking

All of these are read-only. The right column is what's actually happening while your audience thinks you're breaching the Pentagon.

CommandWhat it looks likeWhat it actually does
color 0a Hacker mode engaged Sets green text on a black background. color 0c is red for "alert" scenes, color 0b is cyan.
dir /s Dumping the entire file system Lists every file in the current folder and all subfolders. From C:\ it scrolls for a long time.
tree C:\ Mapping the target's directory structure Draws the folder hierarchy as ASCII branches. One of the best-looking scrolls in Windows.
ping -t 8.8.8.8 Maintaining a connection to a remote server Pings Google's public DNS forever. Stop it with Ctrl + C.
netstat -an Monitoring all network connections Lists your machine's open ports and active connections — real data that looks very serious.
ipconfig /all Pulling network credentials Shows your own network adapter configuration.
tasklist Enumerating target processes Lists running processes, like a text-mode Task Manager.
systeminfo Profiling the compromised system Prints OS version, hardware, patches — slowly, line by line, which sells the effect.

Chain them for a convincing sequence: color 0asysteminfonetstat -antree C:\. By the time the tree finishes, your reputation is made.

The "Matrix" batch file

This classic two-liner fills the screen with endless streams of green numbers. Paste it into Notepad, save it as matrix.bat (choose "All files" as the type), and double-click it. Close the window or press Ctrl + C to stop — it does nothing except print random numbers.

@echo off
color 0a
:loop
echo %random% %random% %random% %random% %random% %random% %random% %random%
goto loop

Want the real falling-code look with katakana characters, color options, and fullscreen — without making files? Open our Matrix rain effect in a browser and press F11.

The zero-effort option: a fake terminal that types itself

Real CMD commands have a limit: they look like a file listing, not an "intrusion in progress." For the full movie-hacker fantasy — port scans, password cracking, ACCESS GRANTED banners — use our fake hacker terminal. It's a pre-scripted browser animation: click START, go fullscreen, and realistic commands type and execute themselves with progress bars and dramatic output. Nothing real runs, nothing to install, works on any OS.

Variations on the theme: the hacker typer produces code as fast as you can mash keys, the boot sequence simulator fakes a BIOS/Linux boot, and the system breached screen is the perfect jump-scare finale for an unattended laptop.

Can you actually hack with CMD?

Not the way movies show it. Command Prompt is just a way to run programs by typing their names; the commands above are ordinary administration tools. Genuine security work involves specialized tools, authorization, and a lot of patience — and unauthorized access to other people's systems is a crime in most countries. Keep the prank a prank: green text, scrolling output, and a confused friend are the whole payload.

Prank responsibly