Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: SendKeys Command  (Read 3746 times)

0 Members and 1 Guest are viewing this topic.

mazin

  • Guest
SendKeys Command
« on: March 27, 2004, 05:41:48 PM »
Is there a command in DOS that can send keys to an open window?

Computer Hope Admin

  • Administrator


  • Prodigy

    Thanked: 248
    • Yes
    • Yes
    • Yes
    • Computer Hope
  • Certifications: List
  • Computer: Specs
  • Experience: Guru
  • OS: Windows 10
Re: SendKeys Command
« Reply #1 on: March 29, 2004, 03:31:01 PM »
Well we are not exactly sure what you are trying to do but you can use the "start" command to start many of the Windows programs through MS-DOS. For example you could open the notepad program by typing:

start c:\windows\notepad.exe

Everybody is a genius. But, if you judge a fish by its ability to climb a tree, it will spend its whole life believing that it is stupid.
-Albert Einstein

mazin

  • Guest
Re: SendKeys Command
« Reply #2 on: March 31, 2004, 01:49:10 PM »
Thanks.

I run a batch file to install an application. There is a serial to be entered in some field in an open window.

Is there a command that can be put in that batch to enter the serial for me?

Tom Boykin

  • Guest
Re: SendKeys Command
« Reply #3 on: April 07, 2004, 08:21:19 AM »
If you are running in a Windows environment (95, 98, Windows 2000, etc.), there is a nice free utility called AutoIt which can send keystrokes (and many more nice things) to a application.  See site:

http://www.hiddensoft.com/