Category:MSX-DOS Internal Commands
WIP
Notes:
- redirection and piping are not yet explained
- editing facilities are not yet explained
- file handles are not yet explained
- specific commands and labels for batch files are not yet explained
- additional info for Nextor needs to be added
Description
The MSX-DOS internal commands are contained in the COMMAND.COM and COMMAND2.COM files:
- COMMAND.COM provides 15 commands for the MSX-DOS 1 system
- COMMAND2.COM is the command file for the MSX-DOS 2 system
- version 2.20 keeps 14 of the 15 MSX-DOS 1 commands, extends 11 of them, adds 21 new commands and 14 environment variables
- version 2.30 adds the environment variable EXPERT
- version 2.31 extends the ECHO command and adds the IF command
- version 2.40 improves 13 commands, adds 24 new commands, 6 environment variables, internal variables, internal variable functions, removes ERASE, ERA, RENAME and the KHELP environment variable
- version 2.41 improves 4 commands, adds the environment variable TABORDER, 2 new internal variables and 1 new internal variable function
- version 2.44 restores ERASE, ERA and RENAME, adds 3 new commands, 1 new internal variable function and improves 1 internal variable.
Note: The first usable and official version of MSX-DOS 2 is version 2.20 (the version 2.10 released in the Netherlands by Sparrowsoft was buggy and unauthorized).
Commands
With COMMAND2.COM 2.2x and 2.3x, you can enter only one command per line. Since version 2.40, it's possible to enter several commands per line, you need to separate them with the ^character.
The maximum characters per line is 127. If you use COMMAND2.COM 2.4x, it's 255 after an alias and 127 after a separating command.
Note: for all MSX-DOS 2 versions, this table refers actually to the version of the COMMAND2.COM file.
Command | MSX-DOS | Updates | Short version | Remarks |
---|---|---|---|---|
ALIAS | 2.40 | 2.41 | ||
ASSIGN | 2.20 | |||
ATDIR | 2.20 | |||
ATTRIB | 2.20 | 2.40 | ||
BASIC | 1 | 2.20 | ||
BEEP | 2.40 | |||
BOOT | 2.44 | |||
BUFFERS | 2.20 | |||
CDD | 2.40 | |||
CDPATH | 2.40 | |||
CHDIR | 2.20 | CD | ||
CLS | 2.20 | |||
COLOR | 2.40 | |||
COMMAND | 1 | |||
COMMAND2 | 2.20 | 2.40 | ||
CONCAT | 2.20 | 2.40 | ||
COPY | 1 | 2.20, 2.40 | ||
CPU | 2.40 | |||
DATE | 1 | 2.20, 2.40 | ||
DEL | 1 | 2.20, 2.40 | ||
DIR | 1 | 2.20, 2.40, 2.41 | ||
DSKCHK | 2.40 | |||
ECHO | 2.20 | 2.31 | ||
ECHOS | 2.40 | |||
ELSE | 2.40 | Only for .BAT and .BTM Batch files | ||
END | 2.40 | Only for .BTM Batch files | ||
ENDIFF | 2.40 | Only for .BAT and .BTM Batch files | ||
ERASE | 1 | 2.20, 2.44 | ERA | ERASE / ERA removed in versions 2.40 to 2.43 and restored in version 2.44 |
EXIT | 2.20 | See also MSX-DOS 2 Error Messages | ||
FORMAT | 1 | 2.20 | ||
FREE | 2.40 | |||
GOSUB | 2.40 | Only for .BTM Batch files | ||
GOTO | 2.40 | Only for .BTM Batch files | ||
HELP | 2.20 | |||
HERTZ | 2.44 | |||
HISTORY | 2.40 | 2.41 | ||
IF | 2.31 | 2.40, 2.41 | Only for .BAT and .BTM Batch files | |
IFF | 2.40 | 2.41 | Only for .BAT and .BTM Batch files | |
INKEY | 2.40 | |||
INPUT | 2.40 | |||
MEMORY | 2.40 | |||
MKDIR | 2.20 | MD | ||
MODE | 1 | 2.40 | ||
MOVE | 2.20 | 2.40 | ||
MVDIR | 2.20 | |||
PATH | 2.20 | |||
PAUSE | 1 | 2.20 | ||
POPD | 2.40 | |||
PUSHD | 2.40 | |||
RAMDISK | 2.20 | |||
REM | 1 | |||
RENAME | 1 | 2.20, 2.40 | REN | RENAME only removed in versions 2.40 to 2.43 and restored in version 2.44 |
RESET | 2.40 | |||
RETURN | 2.40 | Only for .BTM Batch files | ||
RMDIR | 2.20 | RD | ||
RNDIR | 2.20 | |||
SET | 2.20 | 2.30, 2.40, 2.41, 2.44 | See also MSX-DOS 2 Environment Variables, MSX-DOS 2 Internal Variables and MSX-DOS 2 Internal Variable Functions | |
SHIFT | 2.44 | Only for .BAT and .BTM Batch files | ||
THEN | 2.40 | Only for .BAT and .BTM Batch files | ||
TIME | 1 | 2.20 | ||
TYPE | 1 | 2.20, 2.40 | ||
VER | 2.20 | |||
VERIFY | 1 | |||
VOL | 2.20 |
Pages in category "MSX-DOS Internal Commands"
The following 54 pages are in this category, out of 54 total.
ABC |
DEFHIM |
M cont.PRSTV |