Can DOS programs be automated?

It is possible to send keystrokes to a DOS prompt window, as long as the window is not full screen. You can also launch DOS windows and DOS programs using the Run Program command, and by setting the RP_WINDOWMODE parameter you can specify whether to run the program minimized, maximized or normal. The Run Program command will also run DOS commands and batch files.

However, while you can generally automate the DOS prompt, some self contained DOS applications translate special key presses differently to Windows, so you may not be able to automate all your DOS programs. You may need to issue Let>SK_LEGACY=1 prior to any keyboard commands (Send and Press). The best advice here is to try it out first.

Still need help? Contact Us Contact Us