-
Notifications
You must be signed in to change notification settings - Fork 0
Commands
Retro Jack edited this page Mar 27, 2026
·
13 revisions
LGR-DOS supports a subset of DOS commands plus some easter eggs. Commands are case-insensitive. Multiple commands can be chained with && (e.g. cd\games && dir/w/o).
| Command | Description |
|---|---|
dir |
List current directory (details view) |
dir /w |
List current directory (wide view) |
dir /o |
List sorted alphabetically |
dir /w /o |
Wide + sorted |
cd <dir> |
Change directory |
cd .. |
Go up one directory |
cd \ |
Go to drive root |
cls |
Clear the screen |
| Command | Description |
|---|---|
<filename> |
Execute a file (opens link or runs .bat) |
type <file> |
Print file contents to screen |
| Command | Description |
|---|---|
echo <text> |
Print text to screen |
echo off |
Suppress prompt display (used in batch scripts) |
echo on |
Restore prompt display |
setcol <BF> |
Set colors — two hex digits: background and foreground (e.g. setcol 07 = black bg, white fg) |
| Command | Response |
|---|---|
exit |
"I'm sorry, Dave, I'm afraid I can't do that." |
del |
"File(s) too important for me to allow you to jeopardize." |
rmdir |
"Bad command or go away." |
format |
"Specified drive does not exist. Anarchist." |
chkdsk |
"Checking... Yep, that's a disk." |
edlin |
"Whoa now, this is LGR-DOS not MS-DOS!" |
edit |
"Illegal command: edit." |
debug |
"Program terminated normally (0000)" |
attrib |
"A ttrib is a terrible thing to waste." |
quit |
"You're just gonna quit, huh? Good luck with that." |
help |
Usage hint |
| Command | Effect |
|---|---|
lgr |
Sets text color to green |
zerocool |
Sets colors to cyan-on-blue, prints "HACK THE PLANET!" |
dopefish |
Renders the Dopefish in block characters |
| Key | Action |
|---|---|
Enter |
Submit command |
Backspace |
Delete last character |
↑ |
Previous command in history |
↓ |
Next command in history |