WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

How To
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

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
    File Created: 2012:04:23:08:14:06
    Last Updated: 2012:04:23:08:14:06