URGENT! Send Enter Key To DOS Window
Does anyone know how to send the Enter key to a dos window... I've tried using postmessage, keyb_event, sendkeys and even copying the enter key to the clipboard and pasting it to the dos window and nothing works.... Its not just your basic c prompt tho.. Its a dos GUI with menus and the works.. I can use keyb_event to send A-Z and 0-9 but i cannot seem to send the enter key to a dos window.. I need to get this done and I'm doing inventory entry and I need to create a database of all items and I need to do it quickly and within the next few hours... If i don't i'm in big trouble... Please post any code snippets you have or suggestions... I can't do it manually as thier are thousands upon thousands of entries.. All I have is a list of item numbers that I input into the dos window and I need to hit enter...
Thanx,
AAG
Re:Send enter Key to DOS window
AAG,
I've seen a tip on how to pass a string to the DOS environment, is that what you are trying to do?
Here's the URL: http://cuinl.tripod.com/Tips/dos-2.htm
Hope this helps!