home *** CD-ROM | disk | FTP | other *** search
-
-
-
- this is a shareware program, if you find it useful and timely.
- Please send
-
- $30
-
- Dos Extender
- 23240 Lori Way
- Hayward, CA 94541
-
- Power packed new version and Free updates for registered users
-
- GENIE: BFOSTER
- atari ST form node 158, bill foster
- Unix net pacbell!rencon!mpoint!bfoster
- send all questions and unimplemented improvement suggestions to me
-
- If this is version 1.42b or less, then Feel free to distibute
- version 1.42b of this program free of charge only if this file is included.
- Version 1.42b is, however Copyright (C) 1988 by William Paul Foster,
- all rights reserved and may not be sold in any way shape or form.
- It is released as Tradeware.
-
- Versions 1.43 and greater are Copyright (C) 1988 by William Paul Foster,
- all rights reserved and are for paying customers only.
-
- dos.exe version 1.42b
-
- Note - if you got this program for free you have only received changes
- up to and including version 1.42b. if you wish to obtain the new
- version, send your money to the address at the top of the file
-
- When you buy, you get the following improvements plus free updates
-
- Version 1.47 : Sped command execution, command.com reentrant, batch perfected
- Version 1.46 : cpd command - copy by date/archive - POWERFUL feature.
- Version 1.44 : batch files ".BAT" recognized, code compacted
- Version 1.43 : cursor [on/off] command, fixed ^C
-
- This version contains the following:
-
- Version 1.42b : sped command execution method, command.com reentrant
- 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 ALIAS.BAT is included in the arc file
-
- 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
- versions 1.44 and greater automatically detect the .bat file extension
-
- 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'
- or
- alias cat 'cat /f /s'
- then you could type:
- cat file
- and the /f and /s options would be used
- version 1.43:
- a new command: cursor
- type (or include in alias) "cursor" to renable the cursor after
- a wierd graphics program. The command "cursor off" will disable
- the cursor until "cursor" is executed.
- version 1.44:
- version 1.45:
- .bat batch file automatically recognized
- "get variable" - asks for a value for variable at console
- :label
- goto label
- if =/!/>/< string1 string2
- endif
- ex. if = $user bill
- echo Access cleared
- endif
- version 1.46:
- new cpd command, copies groups of files by date and/or archive
- status. Say
- cpd *.c a:\ >= 5/14/88
- Copies all .c files to drive a that have been modified after 5/13/88
- the operators = >= <= > < are all valid. Precede any of them with
- lowercase 'a' (or a by itself with no date) and only files with
- the archive bit set (modified since last copy) will be transfered
- version 1.48:
- support for dos's built in batch commands "for", "if", etc..
-
-
- In the works:
- perhaps function key definitions through aliases
- alphabetized and more complete directory listings
-
-
-
- Purchasing 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
-
- when registered you will receive the current and all future versions
- of this software.
-
-