Is it possible to turn on/off numberlock with command prompt?












0















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


















  • 4





    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
















0















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


















  • 4





    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














0












0








0


2






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














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.







command-line numlock






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked May 14 '13 at 2:01









JonJon

4,4803176112




4,4803176112








  • 4





    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














  • 4





    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








4




4





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





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










4 Answers
4






active

oldest

votes


















-1














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






  • 2





    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.

    – Jon
    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



















2














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.

    – Jon
    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



















1














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






share|improve this answer































    0














    POWERSHELL [CONSOLE]::NumberLock | FIND /I "FALSE">NUL&&POWERSHELL ($WSH = New-Object -ComObject WScript.Shell)-AND($WSH.SendKeys('{NUMLOCK}'))>NUL


    Here is a good mash up for command prompt. Checks if the numlock is off, and if so turns it on.
    If you want it the other way around, Change FALSE to TRUE in "FIND /I "FALSE">NUL"






    share|improve this answer

























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "3"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f595252%2fis-it-possible-to-turn-on-off-numberlock-with-command-prompt%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      -1














      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






      • 2





        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.

        – Jon
        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
















      -1














      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






      • 2





        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.

        – Jon
        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














      -1












      -1








      -1







      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













      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












      share|improve this answer



      share|improve this answer










      answered May 14 '13 at 2:12









      MichaelMichael

      1677




      1677













      • I didnt take the risk of posting the rjl link :)

        – Michael
        May 14 '13 at 2:12






      • 2





        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.

        – Jon
        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



















      • I didnt take the risk of posting the rjl link :)

        – Michael
        May 14 '13 at 2:12






      • 2





        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.

        – Jon
        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

















      I didnt take the risk of posting the rjl link :)

      – Michael
      May 14 '13 at 2:12





      I didnt take the risk of posting the rjl link :)

      – Michael
      May 14 '13 at 2:12




      2




      2





      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





      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





      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.

      – Jon
      May 14 '13 at 3:57





      I should have said so in the original post, but I'd like to do it with just regular command prompt. Sorry.

      – Jon
      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





      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













      2














      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.

        – Jon
        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
















      2














      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.

        – Jon
        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














      2












      2








      2







      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













      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












      share|improve this answer



      share|improve this answer










      answered May 14 '13 at 2:11









      hdhondthdhondt

      2,7652910




      2,7652910













      • 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.

        – Jon
        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



















      • 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.

        – Jon
        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

















      BTW, I searched for "num lock command prompt"

      – hdhondt
      May 14 '13 at 2:17





      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.

      – Jon
      May 14 '13 at 3:56





      I should have said so in the original post, but I'd like to do it with just regular command prompt. Sorry.

      – Jon
      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





      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











      1














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






      share|improve this answer




























        1














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






        share|improve this answer


























          1












          1








          1







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






          share|improve this answer













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







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered May 13 '14 at 8:40









          Marvin DickhausMarvin Dickhaus

          1113




          1113























              0














              POWERSHELL [CONSOLE]::NumberLock | FIND /I "FALSE">NUL&&POWERSHELL ($WSH = New-Object -ComObject WScript.Shell)-AND($WSH.SendKeys('{NUMLOCK}'))>NUL


              Here is a good mash up for command prompt. Checks if the numlock is off, and if so turns it on.
              If you want it the other way around, Change FALSE to TRUE in "FIND /I "FALSE">NUL"






              share|improve this answer






























                0














                POWERSHELL [CONSOLE]::NumberLock | FIND /I "FALSE">NUL&&POWERSHELL ($WSH = New-Object -ComObject WScript.Shell)-AND($WSH.SendKeys('{NUMLOCK}'))>NUL


                Here is a good mash up for command prompt. Checks if the numlock is off, and if so turns it on.
                If you want it the other way around, Change FALSE to TRUE in "FIND /I "FALSE">NUL"






                share|improve this answer




























                  0












                  0








                  0







                  POWERSHELL [CONSOLE]::NumberLock | FIND /I "FALSE">NUL&&POWERSHELL ($WSH = New-Object -ComObject WScript.Shell)-AND($WSH.SendKeys('{NUMLOCK}'))>NUL


                  Here is a good mash up for command prompt. Checks if the numlock is off, and if so turns it on.
                  If you want it the other way around, Change FALSE to TRUE in "FIND /I "FALSE">NUL"






                  share|improve this answer















                  POWERSHELL [CONSOLE]::NumberLock | FIND /I "FALSE">NUL&&POWERSHELL ($WSH = New-Object -ComObject WScript.Shell)-AND($WSH.SendKeys('{NUMLOCK}'))>NUL


                  Here is a good mash up for command prompt. Checks if the numlock is off, and if so turns it on.
                  If you want it the other way around, Change FALSE to TRUE in "FIND /I "FALSE">NUL"







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Jan 11 at 21:21

























                  answered Jan 11 at 21:12









                  Bobby GovoniBobby Govoni

                  11




                  11






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Super User!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f595252%2fis-it-possible-to-turn-on-off-numberlock-with-command-prompt%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Сан-Квентин

                      Алькесар

                      Josef Freinademetz