Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send strings to a DOS window

Status
Not open for further replies.

mickey21

Programmer
Oct 25, 2004
2
US
Is there a WAY of sending a set of strings to a DOS window application?

Alex
 
I think I've played around with this before and although you can paste manually into a DOS window, I was never able to get a script to do so using termkey and associated commands. I'll give this another try tonight to see if I can find a different way to do so.


aspect@aspectscripting.com
 
Sorry I wasn't able to get around to this. I played around with sendkey and sendvkey some more with no luck, then found this note in the help file with regard to the sendvkey command:

Keystrokes cannot be sent to a DOS compatibility window.

I did a quick search of a couple freeware/shareware sites to see if there was a utility that could take a string via a the command line and paste it into a DOS window, but didn't see anything offhand.


aspect@aspectscripting.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top