Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!wuarchive!wugate!uunet!ingr!fordke From: fordke@ingr.com (Keith Ford x8614) Newsgroups: comp.sys.ibm.pc Subject: Re: Turning off NumLock through softwar Message-ID: <7440@ingr.com> Date: 13 Nov 89 22:01:18 GMT References: <3932@ur-cc.UUCP> <110200027@uxe.cso.uiuc.edu> Reply-To: fordke@ingr.UUCP (Keith Ford x8614) Organization: Intergraph Corp. Huntsville, Al Lines: 36 In article <110200027@uxe.cso.uiuc.edu> mcdonald@uxe.cso.uiuc.edu writes: [...deleted stuff about program to toggle numlock from code...] >Yes, it really is only a half a line of uuencoded code. But just >think - it will take up a whole big kilobyte or more on You should get a hold of XEQ.COM from Hardwood Software Associates. It has been released into the public domain by the author. Here is some of the text from the doc file. If you want a copy, send me mail and I will do what I can. :) This program allows COM files to be stored inside XEQ's code and executed by the command: XEQ command For example, if BEEP.COM has been added to XEQ then: XEQ BEEP will execute the BEEP program stored inside XEQ. The original BEEP.COM can be removed from the hard disk (onto a backup floppy!!!). If the specified command is not in XEQ it is passed to the DOS for execution as if directly typed at the DOS prompt. The purpose is to prevent wasted hard-disk space by those pesky little COM files we don't seem to be able to do without. When hard disks are formatted they are given an allocation size (called a cluster size) and this is typically 2048 or 4096 bytes. So when you save a 7 byte COM file like BEEP.COM, it takes up a full cluster. By combining these COM files into this program or LIBRARY, several COM files can be stored in one file (the XEQ program itself) and still accessed without this waste in hard disk space. XEQ Execute if in lib or pass to DOS XEQ /A(command> Add .COM to library if not existant XEQ /D Delete command from library if existant XEQ /E Extract command from library to .COM file XEQ /L List the in the library -EOF- -- _________________________________________________________________________ \__ ...!uunet!ingr!b23b!dragon!keith _OR_ fordke@INGR.COM __/ "Fer cryin' out loud, research physicists need porsches too!" -Opus "...the Trees are all kept equal by hatchet, axe, and saw." -Rush