A full file specification. You usually type only the parts you need: TODO.TXT means the newest version in your current directory.
Every save creates ;2, ;3, and so on. Nothing is overwritten. PURGE deletes the old versions, and DELETE needs a version number (;* for all of them).
DCL uppercases what you type. Commands and qualifiers can be shortened to any unique prefix: DIR, SH DEF, DEL.
Options are /QUALIFIER or /QUALIFIER=value, e.g. DIRECTORY/SIZE/DATE. /NO… turns one off.
* matches any characters, % matches exactly one, and [...] searches every subdirectory below the current one.
Named aliases for devices, directories or files, like SYS$LOGIN (your home) and SYS$SYSTEM. Use them anywhere a path goes.
Rights come from individual privileges (SYSPRV, BYPASS, CMKRNL…) granted to an account. SYSTEM has them all, so be careful as SYSTEM.
$ Prompt| Command | What it does |
|---|---|
TYPE LOGIN.COM | Print a file to the screen. |
TYPE/PAGE LOGIN.COM | Show it one screen at a time. |
CREATE NOTES.TXT | Create a file from what you type. End with Ctrl-Z. |
EDIT/TPU NOTES.TXT | Full-screen editor (EVE). Ctrl-Z saves and exits; F10 also exits. |
COPY NOTES.TXT [.BACKUP] | Copy into a subdirectory, keeping the name. |
RENAME NOTES.TXT TODO.TXT | Rename or move a file. |
DELETE NOTES.TXT;2 | Delete one version. A version number is required. |
DELETE/CONFIRM *.TMP;* | Delete every version, asking about each file. |
PURGE | Keep only the newest version of every file here. |
PURGE/KEEP=2 *.COM | Keep the two newest versions of each .COM file. |
SEARCH [...]*.COM "SSH$" | Find text in files, including subdirectories. |
DIFFERENCES TODO.TXT;3 TODO.TXT;2 | Compare two versions of a file. |
APPEND A.TXT B.TXT | Add A.TXT to the end of B.TXT. |
DUMP FILE.BIN | Hex dump of a file. |
SET SECURITY/PROTECTION=(S:RWED,O:RWED,G:RE,W) F.TXT | Set protection for System, Owner, Group and World. R=read, W=write, E=execute, D=delete. |
SHOW SECURITY F.TXT | Show a file's owner, protection and ACL. |
| Command | What it does |
|---|---|
SHOW DEFAULT | Where you are now. |
SET DEFAULT [.NOTES] | Go into a subdirectory (note the leading dot). |
SET DEFAULT [-] | Up one level. [--] goes up two. |
SET DEFAULT SYS$LOGIN | Back to your login directory. |
SET DEFAULT SYS$SYSDEVICE:[SYSMGR] | Go to an absolute path. |
DIRECTORY | List files here. |
DIRECTORY/SIZE/DATE/OWNER | Long listing. |
DIRECTORY/FULL LOGIN.COM | Everything about one file. |
DIRECTORY [...]*.LOG | Find files in this tree. |
DIRECTORY/SINCE=TODAY | Files changed today. |
CREATE/DIRECTORY [.NOTES] | Make a subdirectory. |
SET SECURITY/PROTECTION=(O:RWED) NOTES.DIR;1 | Step 1 of removing an empty directory: directories aren't deletable by default. |
DELETE NOTES.DIR;1 | Step 2: delete it. It must be empty first. |
| Command | What it does |
|---|---|
SHOW SYSTEM | All processes, with state and CPU time. |
SHOW USERS | Who is logged in. |
SHOW TIME | Current date and time. |
SHOW LOGICAL SYS$TIMEZONE* | Time zone settings. |
SHOW MEMORY | Physical memory, paging and pool use. |
SHOW CPU | Processor information. |
SHOW DEVICES D | Disks, with free blocks. One block = 512 bytes. |
SHOW DEVICES/FULL DKA0: | Details for one disk. |
SHOW QUOTA | Your disk quota, if quotas are on. |
SHOW LICENSE | Loaded licenses (PAKs). |
PRODUCT SHOW PRODUCT | Installed software (PCSI kits). |
PRODUCT SHOW HISTORY | What was installed or removed, and when. |
WRITE SYS$OUTPUT F$GETSYI("VERSION") | VMS version. |
MONITOR SYSTEM | Live system dashboard. Ctrl-Z to quit. |
SHOW ERROR | Device error counts. |
| Command | What it does |
|---|---|
SHOW PROCESS | Your own process. |
SHOW PROCESS/ALL | Your process in full: quotas, privileges, devices. |
SHOW PROCESS/CONTINUOUS/ID=pid | Watch another process live. |
STOP/IDENTIFICATION=pid | Kill a process (PID from SHOW SYSTEM). |
SPAWN | Start a subprocess shell. LOGOUT returns. |
SUBMIT JOB.COM | Run a command procedure as a batch job. |
SUBMIT/AFTER="TOMORROW+02:00" JOB.COM | Schedule it for 2 a.m. tomorrow. |
SHOW QUEUE/ALL | Batch and print queues with their jobs. |
SHOW ENTRY | Your queued jobs. |
DELETE/ENTRY=n | Cancel a queued job. |
SET PROCESS/PRIVILEGES=SYSPRV | Turn on an authorized privilege, roughly like sudo. |
Symbols are DCL variables and command aliases. Logical names are system-wide or per-process path aliases. Command procedures (.COM files) are DCL scripts, and every line starts with $.
| Command | What it does |
|---|---|
LL :== DIRECTORY/SIZE/DATE | Define a command alias. == makes it global; :== stores the text as-is. |
SHOW SYMBOL * | List your symbols. |
DELETE/SYMBOL/GLOBAL LL | Remove one. |
DEFINE WORK SYS$LOGIN:[NOTES] | Make a logical name for your process. |
SHOW LOGICAL SYS$LOGIN | What a logical name points to. |
DEASSIGN WORK | Remove a logical name. |
EDIT/TPU SYS$LOGIN:LOGIN.COM | Your login script, run at every login. Put aliases here. |
@SYS$LOGIN:LOGIN.COM | Re-run it without logging out. |
WRITE SYS$OUTPUT "Hello, ", F$TIME() | Print text. F$… functions are lexicals (built-ins). |
SET VERIFY | Echo each line as a script runs. SET NOVERIFY turns it off. |
SET PROMPT="MYNODE$ " | Change your prompt. |
Accounts live in SYSUAF, edited with AUTHORIZE. Start it with SET DEFAULT SYS$SYSTEM, then MCR AUTHORIZE. These commands go at its UAF> prompt.
| Command | What it does |
|---|---|
SET PASSWORD | (At $) Change your own password at a no-echo prompt. Easiest for special characters. |
SHOW SYSTEM | (At UAF>) Show the SYSTEM account's settings. |
SHOW */BRIEF | One line per account. |
ADD JDOE/PASSWORD=temp1234/UIC=[200,201]/DEVICE=SYS$SYSDEVICE/DIRECTORY=[JDOE]/PRIVILEGES=(TMPMBX,NETMBX)/DEFPRIVILEGES=(TMPMBX,NETMBX) | Create an ordinary user. Then create their directory (next row). |
CREATE/DIRECTORY SYS$SYSDEVICE:[JDOE]/OWNER=[200,201] | (At $) The new user's login directory. |
MODIFY SYSTEM/PASSWORD="New$Pass"/NOPWDEXPIRED | Set a password without it being pre-expired. Quote it to keep case and special characters (needs /FLAGS=PWDMIX). |
MODIFY SYSTEM/PWDLIFETIME=NONE | Stop a password from expiring. |
MODIFY JDOE/FLAGS=DISUSER | Lock an account. /FLAGS=NODISUSER unlocks it. |
REMOVE JDOE | Delete an account (not its files). |
EXIT | Leave AUTHORIZE. |
| Command | What it does |
|---|---|
TCPIP SHOW INTERFACE | Network interfaces and their IP addresses. |
TCPIP SHOW ROUTE | Routing table. |
TCPIP SHOW SERVICE | Network services and whether they're enabled (SSHD22, TELNET, FTP…). |
TCPIP PING example.com | Check that another host is reachable. |
@SYS$MANAGER:TCPIP$CONFIG | Menu-driven TCP/IP configuration. |
@SYS$STARTUP:TCPIP$STARTUP | Start TCP/IP Services. |
@SYS$STARTUP:SSH$STARTUP | Start the SSH server. Re-run it after restarting TCP/IP. |
@SSH$ROOT:[BIN]SSH$DEFINE_COMMANDS.COM ALL | Define SSHSHOW, SSHSTART, SSHSTOP and SSHVERSION. |
SSHSHOW | Running SSH server processes and connections. |
TYPE SSH$ROOT:[ETC]SSHD_CONFIG | The SSH server's configuration. |
| Command | What it does |
|---|---|
HELP | Built-in help for every command. HELP SET DEFAULT drills in. |
HELP/MESSAGE NOCOMD | Explain an error code from a %FACILITY-L-CODE message. |
EDIT/TPU SYS$MANAGER:SYSTARTUP_VMS.COM | Site startup script: add things that should start at boot. |
EDIT/TPU SYS$MANAGER:SYLOGIN.COM | Login script that runs for every user. |
REPLY/ALL "Going down in 5 minutes" | Broadcast to all terminals. |
BACKUP [...]*.*;* DKA100:SAVE.BCK/SAVE_SET | Save a directory tree into one backup file. |
@SYS$SYSTEM:SHUTDOWN | Clean shutdown. It asks a few questions; the defaults are fine. Always do this before powering off the machine or closing the emulator. |
Message format: errors look like %DCL-W-NOCOMD, …, which is facility, severity, then code. The severity letter is S (success), I (information), W (warning), E (error) or F (fatal). - instead of % means a follow-on line of the same message.
A Boxing Octopus Creative Project. Copyright 2026 All rights reserved.