Hello everyone,
I don't suppose anyone has successfully managed to simulate keystrokes
to a DOS application using C#? I've tried using SendKeys (only works
for cmd.exe, not an application like edit.com), I've tried creating a
process and redirecting StandardInput and StandardOutput and last but
not least, I've tried it using the user32.dll. The results are similar
every time. It works for windows applications, it works for cmd.exe
but it does not work for dos programs, for instance edit.com.
Is it even possible to achieve what I'm trying to do?
Thanks for the help in advance,
Amadej.