CDPLAY.CMD is a simple textmode CD player written in REXX. You can use CDPLAY.CMD also to test MCI commands.
CDPLAY.CMD needs the DLL MCIAPI.DLL which is part of MMOS/2.
See Sample programs based on TEMPLATE.CMD on how to use this sample program.
Caution: After creating the program you must append the procedure CMDLINE.CMD at the end of the program!
Here are the links to the sections needed to create the program:
1. Copy the first part of the source into a file (e.g., TEXT.TMP)
2. Append the second part of the source for TEMPLATE.CMD to that file
3. Append the third part of the source for TEMPLATE.CMD to that file
4. Append the fourth part of the source to that file
5. Append the procedure CMDLINE.CMD to that file
6. Delete the leading empty lines and blanks from the newly created
file TEXT.TMP
7. Rename TEXT.TMP to CDPLAY.CMD
I know that this method for creating the programs is somehow difficult but it avoids redundant code in RXT&T.