home *** CD-ROM | disk | FTP | other *** search
-
-
- this is a shareware program, if you find it useful and timely.
- Please send
-
- $10 - $30
-
- Dos Extender
- 23240 Lori Way
- Hayward, CA 94541
-
- For free updates please send at least $20
-
- GENIE: BFOSTER
- atari ST form node 158, bill foster
- send all questions and unimplemented improvement suggestions to me
-
- dos.exe version 1.42
-
- This program may be distributed freely if this file is included
-
- Version 1.42 additions: pushd and popd can now interchange drives too
- Version 1.41 additions: dl command - lists subdirectories
- login sequence
- Version 1.4 additions: color prompts - set alias color1 / color2
- ^C is intercepted and disregaurded at the prompt
- Version 1.3 additions: saves out history to start where you left off
- to a file called \history.sys, when '/n' is specified
- 'dos /n' or 'dos -n' invokes loading and saving
- of history amd login files, now normally disabled
- Version 1.2 additions: saves every login access to the readonly file \login.sys
- Version 1.1 additions: multiple commands per line, push and pop directories
-
- A helpful program is designed to increase speed and thoroughput when
- you're working with MS/PC-DOS. I place this program in my autoexec.bat
- file as the last entry so it is ALWAYS in use. Essentially, it gives the
- power of the Unix history and alias commands as a memory resident command
- line interpreter on the PC. Please keep in mind that this is a Shareware
- program. Not being overly complex, it remembers the last
- 60 messages typed and allows you to recall them by typing just the first
- couple of characters. Recalled lines start with the letter '!'
- There are also some more very powerful extensions to dos.
-
- Example:
- Say you are attempting a piece of software and want to alternate between
- the word processor and C compiler to work out some errors:
-
- you type: ws design.c
- after editing: cc design.c -o design.o
- there were compilation errors, so
- to return to ws type: !w
- after editing: !cc
-
- To look at everything you've done, say 'hist'
- To copy a numbered line, type '!#' where # is the line number
- To execute the exact same command a second time in a row, type '!!'
-
- Another history feature is the ability to access the last
- argument on the previous line, with "!$"
-
- ws design.doc
- dir !$
-
- would edit and then give a directory listing of the file design.doc
-
-
- Part II of the dos package is the alias structure - To substitute one word
- for another or one word for a group of words.
-
- alias ls dir
-
- replaces the dir command with 'ls' and allows you to type 'ls *.c'
-
- to look at all current substitutions, type 'alias' alone,
- or 'alias ls' for just one
-
- Aliases will only work if they are shown first
-
- apon entry to dos.exe, the PATH is searched for the file "alias.bat" that
- contains often accessed aliases and maybe a few executables
-
- a sample file might appear as follows -
-
- rem : sample alias.bat file
- alias al alias
- al ls dir
- al cat type
- al mydir cd \c\bill
- al cc c:\bin\mmcc.exe
- al ln c:\bin\mmlink.exe
- al color1 cyan
- al color2 green
- al pc 'pushd c:\comm&procomm&popd'
-
- note that the last alias uses multiple commands on the same line. They are
- seperated with & and the whole thing is enclosed in single quotes (').
-
- in order to execute batch files from the command line, they should be
- precedded with the word batch. Example: batch autoexec
-
- Important:
- to exit dos.exe type 'bye'
-
-
- Version 1.1 Updates:
-
- pushd, popd
- push and pop directories from a dir stack. Example,
-
- pushd \bbs\atari - moves to \bbs\atari directory
- pushd c:\comm - saves current drive & directory
- popd - returns to the previous directory
-
- push and pop may go up to 10 levels deep
-
- multiple commands per line
- Using the special character '&' you can seperate commands on one line
-
- cc myfile & ln myfile & ls myfile.*
-
- will first run cc, and then ln apon myfile, and next list myfile.*
-
- multiple command aliases can be specified using single quotes, example:
-
- alias pc 'pushd \procomm & procomm & popd'
-
-
- Version 1.2:
- Version 1.3:
- saving of history and login records can be enabled by calling
- dos with the -n option, example:
-
- dos -n
-
- Version 1.4:
- to set the command line colors, place into alias.bat or type
- "alias color1 xxxx" and "alias color2 xxxx"
- where xxxx can be one of the following colors:
-
- red, green, blue, yellow, black, magenta, white
- version 1.41:
- type 'dl' and all subdirectories of the current directory are listed
- Login sequence:
- Apon entry to the program, a prompt will appear after the
- execution of alias.bat. The promp looks like: Login:
- usually you can just press ENTER and you will enter dos.
- if you enter any other word, such as your first name John,
- dos will attempt to execute the batch file JOHN.BAT and then
- send you into dos. This is so that if different users of the
- same machine have preferences such as color settings they can
- be accomodated. Also if the -n feature was enacted, the user's
- name will be recorded in the log.
- version 1.42:
- alias's may be referenced in the middle of the command line by
- preceeding them with a $. One excellent use for this has to do with
- the user login. In each user's file you can assign an alias of that
- user's name. i.e. inside john.bat
- alias user john
- then (or before in alias.bat), you can use that name in another alias
- alias mail 'mailx $user'
- and the current user name will be used
- this also makes for good user defined environment variables as aliases
- things like:
- alias catopt '/f /s'
- alias cat 'cat $catopt'
- then you could type:
- cat file
- and the /f and /s options would be used
-
- In the works:
- perhaps function key definitions through aliases
- alphabetized and more complete directory listings
-
-
-
- Shareware Information:
-
- You must send $30 for licensing for use in a commercial or government
- environment.
- $30 - 1 pc
- $45 - 2 to 5 users
- $100 - 6 to 20 users
-
-
- Dos Extender
- 23240 Lori Way
- Hayward, CA 94541
-
-
-