Program: DosBASH Author: Ronald J. Lawrence Email: lawrence@elvis.allencol.edu Introduction DosBASH is a DOS command utility that combines the best features of popular utilities such as DosKey and the UNIX shell, Bash. Installation To install DosBASH, simply run the install program from the directory where DosBASH was unzipped. Features - Recall Previous Commands The use of the up and down arrow keys will scroll through past commands Example: pressing the up arrow key five times will recall the fifth last command entered. - Previous Command Completion The use of the key will finish the previous command entered. Example: if the command MD TEMP is entered, then in the next line, CD , the command line would then read CD TEMP (from previous command) - Tab Command Line Completion The use of the tab key will finish any filename or directory name in the current directory. Example: if the command, EDIT AU was entered, the tab key would finish the word AUTOEXEC.BAT, if that file existed in your current directory. If multiple files exist that have a similar name, a situation such as this might occur: EDIT AU After tab command: EDIT AUTOEXEC. EDIT AUTOEXEC.O After second tab: EDIT AUTOEXEC.OLD - Alias Support The file DOSBASH.CMD is used as an alias file. This works similar to a DOS batch command or a UNIX alias. The following is a sample DOSBASH.CMD alias file: LS=DIR CLEAR=CLS DIR=DIR /OG X=EXIT W=WIN COMMAND=DOSBASH.EXE In this example, every "LS" command would be substituted with a "DIR" command. Likewise, every "DIR" command would be substituted with a "DIR /OG" command to group the names in order by group. The DOSBASH.CMD file must be placed in your root directory (C:\) or this version of DosBASH will not use the aliases. The DosBASH.CMD file can be edited with a standard DOS text editor, such as EDIT.COM. To edit this file, the following command can be entered: EDIT C:\DOSBASH.CMD Or to add one command to the file: ECHO LS=DIR >> C:\DOSBASH.CMD - Long Filename Support When using the key to complete a command, DosBASH can recognize long filenames in Windows 95/NT. For example if the following command is entered in DosBASH: CD PRO This would then produce the command: CD "Program Files" - Additional Features DosBASH v1.0 also supports two optional command line parameters. First, typing the following command at the command line will list all commands in DosBASH memory (all commands entered in this session) DOSBASH /H Secondly, the following command will list all commands in the DOSBASH.HIS file, which will list all commands ever entered by DosBASH. DOSBASH /F - New Files Added by DosBASH DOSBASH.EXE Executable program file for DosBASH DOSBASH.CMD DosBASH alias file DOSBASH.HIS History file for DosBASH DOSBASH.TMP DosBASH temporary file (don't try to edit with this) INSTALL.EXE Installation File for DosBASH README.TXT This file More Information: This is the first version of DosBASH released, future versions will be available soon. Please check back for updated version numbers; or email me for availability. For those of you who live and love UNIX, I created this program for you, I hate trying to navigate around the DOS environment without the BASH shell TAB command also. I am always open to suggestions for improving my products, so if you have suggestions on how DosBASH can be improved, please email me (see contact info below). Lastly, if you have any questions/comments in general, feel free to contact me. I would like to give special thanks to my co-worker and friend Mark for giving me some ideas while developing DosBASH. As always, if you enjoy this program drop me and line and let me know what you think of DosBASH. License: This product is freeware, feel free to distribute it. Contact Information: Author: Ronald J. Lawrence Email: lawrence@elvis.allencol.edu Web: http://www2.allencol.edu/~lawrence