Category : Utilities for DOS and Windows Machines
Archive   : KEYCTRL.ZIP
Filename : KEYCTRL.DOC

 
Output of file : KEYCTRL.DOC contained in archive : KEYCTRL.ZIP
Keyctrl is a small program that allows you to turn the Num Lock key
off on the AT&T 101 key keyboard. Simply insert the following command
anywhere in your autoexec.bat file to turn the Num Lock
key off at boot time:
KEYCTRL n

Keyctrl can toggle other locked key combinations. Upper case
characters will lock keys, and lower case characters will unlock them
For example to enable Caps Lock and disable Num lock enter the following:
KEYCTRL Cn

Keyctrl with a question mark will display all the options supported.

E:\TMP-->keyctrl ?

Keyboard Control Version 1.0

Usage: KEYCTRL [options]

Where the options are
I = Insert Key Locked i = Insert Key Unlocked
C = Caps Key Locked c = Caps Key Unlocked
N = Num Key Locked n = Num Key Unlocked
S = Scroll Key Locked s = Scroll Key Unlocked
P = Pause Key Locked p = Pause Key Unlocked
D = Display Keyboard Control Status
E = Keyboard Control Status returned as Error Code

E:\TMP-->

Keyctrl can also return the decimal code of the shifted key by
using the D option. Turn the Num Lock key on and try this command:
KEYCTRL D

E:\TMP-->keyctrl D
32
E:\TMP-->

Keyctrl should return a 32 indicating that the Num lock key was on.

The E option will place the shifted key status in the Return Code.
This Return code can be checked in batch files by using the
ERRORLEVEL option.

The following batch file (x.bat) will ask for the TIME if the Num
lock key is not on. If the Num lock key is on the TIME command will
be skipped.

Keyctrl E
IF ERRORLEVEL 32 GOTO :SKIPTIME
TIME
GOTO :END
:SKIPTIME
ECHO Time Not Set
:END

















  3 Responses to “Category : Utilities for DOS and Windows Machines
Archive   : KEYCTRL.ZIP
Filename : KEYCTRL.DOC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/