-
Notifications
You must be signed in to change notification settings - Fork 0
Commands
Retro Jack edited this page Jun 9, 2026
·
13 revisions
The prompt understands a small subset of DOS commands plus a few easter-egg stubs. Commands are case-insensitive. Multiple commands can be chained with && (e.g. cd\emulators && dir).
| Command | What it does |
|---|---|
dir |
List the current directory |
dir /w |
Wide view |
dir /o |
Alphabetical order |
dir /w /o |
Wide + sorted |
cd <dir> |
Change directory |
cd .. |
Go up one level |
cd \ |
Jump to drive root |
cls |
Clear the screen |
| Command | What it does |
|---|---|
<filename> |
Execute. link: opens the URL in a new tab; data: runs as a batch script |
type <file> |
Print the file's data (or link) to the screen |
find <word> |
Search the whole virtual FS for games (.bat launchers) and emulator menus (sub-directories) whose name or short code matches the query at a word boundary. Reports two sections — GAMES and MENUS — each with code + title + full path. Cross-references numbered .bat shortcuts, so launchers like mario.bat are findable by their menu-displayed title (Super Mario Bros.). |
find "<phrase>" |
Multi-word queries must be wrapped in double quotes. Bare-spaced input is rejected with a hint that re-quotes the input. |
C:\>find super
Searching for "super"...
4 matches found.
GAMES (4)
MARIO Super Mario Bros. (1985)
C:\EMULATORS\CONSOLE\NES\GAMES
MARIO 3 Super Mario Bros. 3 (1990)
C:\EMULATORS\CONSOLE\NES\GAMES
SMB2 Super Mario Bros. 2 (1988)
C:\EMULATORS\CONSOLE\NES\GAMES
MANBOW Space Manbow (1989)
C:\EMULATORS\HOMECOMP\MSX\MSX2\GAMES
| Command | What it does |
|---|---|
echo <text> |
Print text |
echo off |
Suppress the C:\> prompt re-render until the end of the current batch (or until echo.) |
echo. |
Print a blank line and restore prompt re-render — used at the end of menu batches so the C:\> appears under the menu |
setcol <BF> |
Set background + foreground colour by two hex digits (e.g. 07 = black bg, white fg) |
These print a one-line tongue-in-cheek response and do nothing else: exit, del, rmdir, format, chkdsk, edlin, edit, debug, attrib, quit. help prints the full command reference (the text on this wiki page, baked into commands.js).
Source: prompt/javascript/commands.js.
| Command | Effect |
|---|---|
zerocool |
Switches to a cyan-on-blue colour scheme and prints a Hackers (1995) reference |
dopefish |
Renders the Dopefish in block characters |
| Key | Action |
|---|---|
| Enter | Submit |
| Backspace | Delete last character |
| ↑ / ↓ | Step through command history |