The following list of commands cover the general core set of DOSPlus commands omitting any machine or vendor specific commands such as NVR for the Amstrad 1512 or STAR for the BBC Master.
DOSPlus Commands
| Command | Effect | Parameter/Option | Type |
|---|---|---|---|
| ADDMEM | Alters memory allocation for EXE files, use if you receive 'not enough memory error when loading EXE file. | = kb of memory 0-999 ADDMEM = 0 allows automatic allocation of memory |
|
| ALARM | Stores and displays messages at given times |
{DD:MM:YY} {HH:MM} {MESSAGE} /C : Removes an entry /T : Removes all entries /ON : Switches alarm on /OFF : Switches alarm off |
External / Background |
| BACKG | Runs, stops or gives status of programs running in the background | External | |
| BREAK | No effect | ||
| CHDIR (CD) | Changes or displays current DOS sub-directory. Also can be used to allocate a 'floating' drive {N:O:P:} to a sub-directory path | CD CD C:\DOSPLUS CD N: C:\NEWDIR |
|
| CHKDSK | Displays disk status | /V : Displays extra information /B : Identifies bad sectors /L : Attempts to reconstruct directory /R : Attempts to reconstruct a root directory /D : Attempts to locate sub-directories |
External |
| CLS | Clears screen | ||
| COMSIZE | Displays or sets the memory limit for COM files | = kb of memory 0-999 | |
| COPY | Copies files | /A : Inidcates ASCII file /B : Ignores CTRL-Z characters /S : Indicates SYS files /V : Verifies fie copy COPY {file}+{file} allows for files concatanation (max of two files) |
|
| DATE | Display or set the current date | ||
| DELQ | Deletes file(s) after confirmation | ||
| DEVICE | Assigns devices, shows current assignments and sets communication parameters | [DAT] : Number of data bits {5, 6, 7, 8} [PAR] : Parity {NONE, ODD, EVEN, MARK, SPACE} [POL] : Polarity {HIGH, LOW} [PRO] : Protocol {NONE, XON, ETX, RTS, DTR} [SP] : Speed (baud rate) {75, 150, 300, 1200, 2400, 4800, 9600, 19200} [ST} : Stop Bits {1, 2, 15} |
|
| DIR> | Displays disk directory | /L : List format /P : Pauses at the end of a page /S : Displays SYS files /W : Wide format list |
|
| DISK | Copies, formats and verifies floppy disks | External, Menu driven | |
| DISKCOPY | Copies floppy disks | External | |
| ECHO | Cancels or shows commands and displays messages | OFF ON |
Internal, Batch |
| ERASE (ERA) | Delete files same as DEL | ||
| ERAQ | Deletes file(s) after confirmation = DELQ | ||
| EXIT | Returns to a suspended application | ||
| FOR | Repeats command for list of files | FOR %%variable IN {files} DO {command} FOR %%F IN (*.TXT) DO REN *.OLD Note - %%variable is used in batch files, at the prompt only %variable is required |
Internal, Batch |
| FORMAT | Formats disks | /S : Creates a system (boot) disk /V : Add volume label |
External |
| FSET | Sets drive, disk and file attributes | [ARCHIVE] : Archived/Non-archived [DIR] : Directory file [RO[ : Read-only [RW] : Read-write [SYS] : SYS file [NAME] : Add volume label [PASSWORD] : Adds password [PROTECT] : Set password protection [DEFAULT] : Set default password |
External |
| GOTO | Jumps to a batch file label | Internal, Batch | |
| IF | Executes command if condition is true | IF {condition} {subcommand} IF %1 ==EXIT GOTO END IF NOT {condition} {subcommand} can also be used IF ERRORLEVEL n IF EXIST {file} can be used to test for if a file exists |
Internal, batch |
| MKDIR (MD) | Create a DOS sub-directory | ||
| MODE | Assigns serial devices and sets communication parameters | ||
| N | Setup keyboard, screen and printers | External, menu driven | |
| PATH | Changes or displays current directory search path | Note - file extensions are searched for in teh following order : CMD COM EXE BAT PATH; will delete the current search path |
|
| PAUSE | Waits for a keypress | PAUSE Select an option Will display text if ECHO is ON, in addition to the 'Press a key to continue' prompt |
Internal, Batch |
| PIP | Copies files | [A] : Non-archived files only [C] : Requires confirmation [D] : Deletes characters [E] : Echoes file [F] : Removes form feed [G] : Specifies user number [H] : Hexadecimal file [I] : Intel hexadecimal file [L] : Converts to lower case [N] : Adds line numbers [P] : Ignores control characters [P] : Sets page length [Q] : Finishes copy after string [R] : SYS file [S] : Starts copying from specified string [T] : Exapands tabs [U] : Converts to upper case [V] : Verifies copy [W] : Overwrites read-only file [Z] : Sets parity bit to zero |
External |
| Prints files in background | /C : Removes an entry /H : Adds header /N : Ignores header /T : Removes all entries Note - header consists of filename, page number, date and time |
External, Background | |
| PROMPT | Changes command prompt | 4d : current date $t : current time $p : current pathname $n : current drive $u : user number (CPM) $$ : display $ $g : display > (greater than) $l : display < (less than) $q : display = (equals) $h : display | (bar) $e : ESCape character $h : backspace character $_ : new line |
|
| REM | Batch file remark/comment | Internal, Batch | |
| RENAME (REN) | Renames files | ||
| RPED | Text editor program | External, Menu driven | |
| SET | Displays or changes DOSPlus environment | PATH COMSPEC OS VER PROMPT $DIR $WIDTH $LENGTH $PAGE $SLICE $CLS $ON $OFF |
|
| SHIFT | Moves the $0..$9 variables one place to the rights | Internal, Batch | |
| SHOW | Displays status of disk or drives | [DIR] : Number of free directory entries [DRIVE] : Drive characteristic [LABEL] : Volume label (CPM) [SPACE] : Space on disk [USERS] : User details (CPM) |
External |
| SLICE | Changes proportion of processing time allocated to foreground program | ||
| TIME | Changes current time | ||
| TREE | Display DOS directory structure | External | |
| TYPE | Displays contents of an ASCII file | /P : Pause after each page | |
| USER | Changes CPM user number | ||
| VER | Dispays DOSPlus version number | ||
| VERIFY | No effect | ||
| VOL | Displays disk volume label | 11 characters are allowed for volume names | |
| 8087 | Turns on or off 8087 co-processor |
Internal are commands internal to DOSPlus and are loaded into memory at boot
External are command that require a separate executable to be run when called as needed
