To start with, there is not such thing as "dosbox" and "old dos-programs" unless you are talking about obsolete systems not based on NT. Something else: "…because the development tools didn't support filepathes" — who told you so?
What are you talking about is just a console application. I bet this is a regular Windows 32- or 64-bit application, without a tiny bit of DOS. Now, no wonder that you don't have a prompt or anything like that unless you don't write it in your console. If you want the regular console input without console, you have to emulate it somehow. To do so, you need to use
System.Diagnostics.Process.Start(ProcessStartInfo)
, redirect
StandardInput
stream and write your input data into this stream on every step of debugger or other tool. To get output, you will need to redirect
StandardOutput
and
StandardError
as well. This is not so simple.
See:
http://msdn.microsoft.com/en-us/library/system.diagnostics.process.aspx[
^],
http://msdn.microsoft.com/en-us/library/system.diagnostics.process.standardinput.aspx[
^] (some code sample here),
http://msdn.microsoft.com/en-us/library/system.diagnostics.process.standarderror.aspx[
^],
http://msdn.microsoft.com/en-us/library/system.diagnostics.process.standardoutput.aspx[
^] (and here),
http://msdn.microsoft.com/en-us/library/system.diagnostics.processstartinfo.aspx[
^].
—SA