home *** CD-ROM | disk | FTP | other *** search
- ** FKEY **
- ** By M. B. Page **
-
- Purpose: Assigns DOS commands to function key(s).
- Usage: FKEY 2 dir
-
- In the above usage example, FKEY assigns the DOS command "dir" to function
- key 2. Upon executing the above example the dir command will be issued when
- ever the F2 function key is pressed.
-
- NOTE: FKEY will override DOS's normal use of function keys. If the key F3 is
- assigned a string, the normal F3 funtion (repeat last DOS command) will be
- replaced with the new FKEY assignment.
-
- FKEY can also be used to execute batch files, by assigning a batch
- filename to a function key. You cannot assign multiple DOS commands to a
- single function key. For example: "FKEY 3 cd\letters type letter.txt" would
- only result in changing your current directory to the \letters directory.
- However, "FKEY 3 type \letters\letter.txt" would work just fine from any given
- directory.
-
- If you just type FKEY and press enter, a brief explanation of the usage
- is provide as reminder. FKEY commands can also be called from batch files.
- in order to suppress FKEY messages, add the ">nul" pipe at the end of the
- function key(s) assignments.
-
- Example batch file: Fkins.bat
- echo off
- cls
- FKEY 1 dir>nul
- FKEY 2 cls>nul
- FKEY 3 chkdsk>nul
- FKEY 4 dir /w>nul
-
- FKEY is the result of my present attempt to learn the C language. In order
- for this program to work, you must have the DOS ANSI.SYS driver install in
- memory. (See your DOS manual for instructions on how to add ANSI.SYS) to
- your config.sys file at boot time.
-
- FKEY is provided to share with your friends, upload to BBS's etc..
- Provided that this file FKEY.DOC is included.
-