🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #5131

Re: Disabling an Internal DOS Command

#5131
From: Doug Dougherty
Date: Tue, 12 Mar 1991 01:22
35 lines
1497 bytes
sguerke@brahms.udel.edu (Stephen Guerke) writes:

>You can create a small file called NUMOFF.COM by using an ASCII editor
>(even EDLIN :)) and typing the following DEBUG script:

>(Line numbers included for reference)

>1: a 100
>2: mov ax,40
>3: mov ds,ax
>4: mov ah,0
>5: mov bx,0017
>6: mov [bx],ah
>7: int 20
>8: 
>9: r cx
>10:e
>11:n numoff.com
>12:w
>13:q

>carefully proofread the above file (being sure that line 8 is blank
>and that line 13 is q) and save it as NUMOFF.SCR .

>To create NUMOFF.COM , at the prompt (be sure that the directory
>containing DEBUG.COM in in your PATH) type the following command:

>		C> debug < numoff.scr

>This should (it did for me when I used it :)) create a little program
>named NUMOFF.COM.  Put it in your autoexec.bat file and it will turn
>off the Number Lock key and its light.


It will only do the light if you have an AT (or better) type keyboard.
Technical Details
Message-ID: <valley.668740966@gsbsun>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!rutgers!uwm.edu!linac!midway!valley
References: <LEVERICW.91Mar4113004@cheetah.ece.clarkson.edu> <1991Mar6.233821.15345@bradley.bradley.edu> <1991Mar7.045826.29518@borland.com> <19456@brahms.udel.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!rutgers!uwm.edu!linac!midway!valley
From: valley@uchicago (Doug Dougherty)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Disabling an Internal DOS Command
Message-ID: <valley.668740966@gsbsun>
Date: 12 Mar 91 01:22:46 GMT
References: <LEVERICW.91Mar4113004@cheetah.ece.clarkson.edu> <1991Mar6.233821.15345@bradley.bradley.edu> <1991Mar7.045826.29518@borland.com> <19456@brahms.udel.edu>
Sender: news@midway.uchicago.edu (News Administrator)
Distribution: usa
Organization: University of Chicago
Lines: 35