From: Bob Giddings
I think I have worked on this enough. Here is my command line demo called CLEAR. Included with a few commands. It is mostly meant for 80-cols, some commands won’t display properly in 40-cols. Although most of the commands will work on a II+. The most powerful command is included. The ALIAS command will let you make aliases of Basic, Binary and System files.
There are a couple of commands that need some explanation.
Type COMMANDS at the prompt to view all the present commands.
CD allows for these additional attributes.
CD – view current directory
CD sd – change prefix to the volume in the Slot and Drive
CD .. – back up one level
CD / – back up to root level
CD dirname – enter directory if it exists. If it doesn’t, then prompt to create it.
CD ..dirname – back up one level, then append dirname to that path
CD ../dirname – the ../ takes the place of the volume name, in this case then dirname is appended to the volume name and that directory is entered.
Note: if the directory does not exist, then you will be prompted to create it.
CDD – stands for Change Default Directory. CLEAR will then take all commands from this new directory. For instance, one could make a GAMES directory and a CMDS.GAMES directory. Copy ALIAS and the ALIAS.BIN.OBJ to the CMDS.GAMES directory. Change the default directory with CDD CMDS.GAMES. Now go into the GAMES directory and type ALIAS “game”. All aliases for the games are now stored in CMDS.GAMES. The command COMMANDS also works on this new command directory.
CDD is also used to change the default CMDS directory to a RamDisk. The copy command is not included. But just use UTIL (which is COPY II+ and is included) to copy the CMDS directory to a RamDisk. Then use CDD to change to /RAM/CMDS/ and the commands will now be run from the RamDisk.
All the other commands should be pretty self-explanatory. Just launch the program. You can download the CLEAR Disk from here: