So anyways, I’ve been working on a batch IDE, and I was wondering if there was a good way to effectively embed the file into the form.
It would function sort of like a debug mode, where at any time, the user can click a button, and the batch file would load into the actual form.
Like the black cmd window would be embedded into the form…
Is there any way to do that?
And in
C:\echo.cmdI have just basicecho hello!. When this code is executed – you’ll seehello!received from batch’s output stream.Note that if executed command will wait for some input –
ReadToEnd()can’t return. In this case you should useProcess.OutputDataReceivedevent.