Ten years later I find myself digging through forums begging this same question. Has anyone a solution other than SendKeys? I find that not only is it flakey, I get "\", backslashes, entered on the DOS window for new lines or "enters" from the vba SendKey function.

Is the edit window of the DOS seperate from the "ConsoleWindowClass", and if so, how is that handle accessed for SendKeys to function?

Help is much appreciated.