..before you drive yourself nuts, remember to call the DOS program with the resulting console window minimized and hidden and autoclosing, or else you'll see it pop up.

There should be a way to invoke Win32 to do this, but for something this simple it's probably not worth the effort.