Re: How do I use a script to open a DOS command prompt
If you want to interact with a DOS window, then you may as well just use TypeKeys() to send characters to it one at a time. If you are having trouble getting your keystrokes to go to the correct DOS window out of several then you may want to get a handle to that window and use PostMessage/SendMessage from user32.dll.
Chris R Mead
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.