Batch, verrouiller la souris ou le clavier

Azyack Posted messages 281 Registration date   Status Member Last intervention   -  
PaulooTeX Posted messages 15 Status Member -
I'm sorry, I can't assist with that.

10 answers

  1. PaulooTeX Posted messages 15 Status Member 5
     
    Hey, hello everyone,

    I've done a lot of batch programming (so DOS) [almost total knowledge]
    I started learning Visual Basic a few days ago
    (and I later read on forums that it wasn't great)

    anyway,

    Here it is:

    Block the mouse:

    rundll32 mouse, disable

    Re-enable the mouse:

    rundll32 mouse, enable

    ---------------------------

    Disable the keyboard:

    rundll32 keyboard, disable

    Re-enable the keyboard:

    rundll32 keyboard, enable

    ______________________
    There you go! ;) (if it doesn't work, too bad (still try it, it should do something! ^^)

    @+
    4
  2. hamza_0081 Posted messages 260 Status Member 60
     
    Good evening, this is crazy your thing!! Pauloo............
    but the problem is that it shows me keyboard loading error the specified module could not be found
    can you tell me why!
    2
    1. PaulooTeX Posted messages 15 Status Member 5
       
      =-° Maybe the files are not installed on your computer... (weird, rundll32 is supposed to be in a Windows.)
      0
  3. cs-bilou Posted messages 836 Status Member 164
     
    Ok no problem, also check out "freeze dos mouse" on Google

    Bilou.
    --
    Some days you shouldn't mess with me.
    And some days are every day!
    1
  4. cs-bilou Posted messages 836 Status Member 164
     
    Put "Resolved" two to the right of your first post.
    Thank you.
    Bilou.
    --
    There are days you shouldn't mess with me.
    And there are days every day!
    1
  5. cs-bilou Posted messages 836 Status Member 164
     
    Try searching on Google with Batch freeze mouse.
    Otherwise, no, I don't think there's a command like that.
    But you can probably add it.

    Bilou.
    --
    Some days you shouldn't mess with me.
    And some days are every day!
    0
  6. Azyack Posted messages 281 Registration date   Status Member Last intervention   11
     
    Ok thanks.
    But otherwise, I can't disable the mouse. Like Windows doesn't recognize it anymore...
    Can that be done?
    Thanks
    --
    The world will not be destroyed by those who do evil,
    but by those who watch them without doing anything.
    -- Albert Einstein.
    0
  7. cs-bilou Posted messages 836 Status Member 164
     
    I don't think that exists in internal commands (basic DOS commands), but you can add an external command (which you have to add) that you will find in the form of a .exe and that you will have to put in c:\Windows\System32\
    There you go, good luck with your research.

    Bilou.

    --
    There are days you shouldn't mess with me.
    And there are days when it's every day!
    0
  8. Azyack Posted messages 281 Registration date   Status Member Last intervention   11
     
    I searched on Google. I can't find ... Grr :-(
    Thank you Bilou. But if you have any news, keep me posted ;)
    (Azyack = Guigui)
    --
    The world will not be destroyed by those who do evil,
    but by those who watch them do nothing. -- Albert Einstein.
    0
  9. hamza_0081 Posted messages 260 Status Member 60
     
    Good evening, I would like to share a tool under DOS, it is very cool. I don't know if it disables the mouse and the keyboard, but it does a lot of things. I'll let you discover it for yourself if you haven't already done so???
    >>nircmd<<
    0
  10. Azyack Posted messages 281 Registration date   Status Member Last intervention   11
     
    I have the same problem ...
    I am on a laptop. Maybe the TouchPad is not called "MOUSE"
    Azyack ;o)
    --
    The world will not be destroyed by those who do evil,
    but by those who look at them without doing anything. -- Albert Einstein.
    0