Windows Commandline Tricks

 Keywords:  Windows Command line tricks rundll cpl

Here are number of windows command lines that you may find very handy:
  • Pop up an email window
    email="somebody@someplace.com"
    Run("RunDLL32","url.dll,FileProtocolHandler mailto:%email%")
    
  • Safely Remove Hardware (delete device)
    Run("rundll32.exe","shell32.dll,Control_RunDLL hotplug.dll")
    


    Here's as trick, to disable the keyboard and mouse, but it only seems to work on Windows 95 / 98 (Systems that have Both RunDll32.dll and rundll.exe).

    The following commands are not supported on Windows NT /2000. They will have no affect on NT/2000.

    NOTE: Once this command is called you will *have* to REBOOT you system to get the MOUSE back.

    Run("rundll32.exe","mouse,disable")
    
    NOTE: Once this command is called you will *have* to REBOOT you system to get the KEYBOARD back.
    Run("rundll32.exe","keyboard,disable")
    



    Article ID:   W14600
    
    Filename:   Commandline tricks.txt