Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

With command prompt, can I turn my number lock on or off? I'm hoping to do it with just one line, but I'm assuming I can't as that would have shown up in google.

share|improve this question
1  
Please remember to include the OS you are using in your question. command-line can apply to Windows, Linux, Unix, OSX, BSD, BeOS, Dos, etc etc. – terdon May 14 '13 at 10:38
up vote -1 down vote accepted

If you search google for "utility to turn off num lock", you will get a good answer.

It is a command line tool, just a simple little exe, 'numlock.exe off'

Alternatively, there are dozens of code examples if you want to build your own application, using any number of free development tools :)

share|improve this answer
    
I didnt take the risk of posting the rjl link :) – Michael May 14 '13 at 2:12
1  
It look like a reasonably legit site - there's even an address and phone number. Of course, as with any downloaded software, caveat emptor! – hdhondt May 14 '13 at 2:15
    
And thats my latin lesson for the day – Michael May 14 '13 at 2:19
    
I should have said so in the original post, but I'd like to do it with just regular command prompt. Sorry. – Frank May 14 '13 at 3:57
    
I don't understand. Hack the low level hardware with a one line command prompt? Without custom/3rd party tools? – Michael May 14 '13 at 4:27

Google gave a few quick answers when I tried it, for example NUMLOCK.EXE and CAPSLOCK.EXE from this site:

http://www.rjlsoftware.com/software/utility/default.cfm

Once installed, the relevant commands are:

NUMLOCK ON/OFF

CAPSLOCK ON/OFF

share|improve this answer
    
BTW, I searched for "num lock command prompt" – hdhondt May 14 '13 at 2:17
    
I should have said so in the original post, but I'd like to do it with just regular command prompt. Sorry. – Frank May 14 '13 at 3:56
    
There is no way to do it with standard Windows commands. With Win 95(?) you could use Windows to create an assembler file that would do the job, but I doubt very much that will work with current versions of Windows. See support.microsoft.com/kb/151715 – hdhondt May 15 '13 at 11:12

For UNIX there is NumLockX to enable and disable numlock from the console.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .