-
Notifications
You must be signed in to change notification settings - Fork 0
Commands
Retro Jack edited this page Jun 15, 2026
·
13 revisions
The prompt understands a small subset of DOS commands. 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 attack
Searching for "attack"...
5 matches found.
GAMES (5)
DEMON Demon Attack (1982)
C:\SYSTEMS\CONSOLE\ODYSSEY2\GAMES
DEMONATK Demon Attack (1983)
C:\SYSTEMS\HOMECOMP\COMMODRE\VIC20\GAMES
MOLATAK Mole Attack (1982)
C:\SYSTEMS\HOMECOMP\COMMODRE\MAX\GAMES
DEMON Demon Attack (1982)
C:\SYSTEMS\HOMECOMP\COCO\GAMES
GALACTIC Galactic Attack (1983)
C:\SYSTEMS\HOMECOMP\COCO\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) |
help prints the full command reference (the text on this wiki page, baked into commands.js).
Source: prompt/javascript/commands.js.
| Key | Action |
|---|---|
| Enter | Submit |
| Backspace | Delete last character |
| ↑ / ↓ | Step through command history |