ECHO (Stefan Danes)
Contents |
Description
ECHO is a tool created by Stefan Danes. You can find it on Dragon Disk 03.
You can't use it under MSX-DOS 2 / Nextor, because the internal command ECHO is then automatically used.
Command
Effect
- Displays a blank line or a text on the screen.
- Can also turn on/off the screen and create a text file.
Syntaxes
- ECHO <Text>
- ECHO ON|OFF
- ECHO <Text>@ > <Device>:<Filename>
Parameters
<Text> is the text to display on the screen. If no text is given, then just a blank line is output.
ON/OFF enables/disables the screen. It's equivalent to DEFUSR=&H44 : X=USR(0) and DEFUSR=&H41 : X=USR(0) in MSX-BASIC.
<Device> is the name for used device. It can only be a disk drive.
If you don't specify the drive, the computer will work with the currently active drive (by default, it's drive A:)
Device type | Device name | Remark |
---|---|---|
Disk drive | A, B, C, D, E, F, G, H | A floppy disk interface can control until 2 drives. |
<Filename> is the name of the text file that will contain the text of the ECHO line.
Examples
A>ECHO ECHO AUTOEXEC batch file executed
A>ECHO TEST@ > B:TEST.TXT
Environment
- MSX1 and higher
- Only MSX-DOS 1