Is there a way to use sendkeys (or something equivalent) from (not to) the command prompt?
Here is a one line solution: This line will type "Testing 123" and then hit Enter.
echo >script.vbs set shell = CreateObject("WScript.Shell"):shell.SendKeys "Testing 123{ENTER}" & script.vbs