Howdy folks.
I wonder if someone would be kind enough to help me with a command line problem?
I wish to open a cmd window and send multiple commands to it, and then close when done. So far I can only work out how to open a window and send one command and then either have it automatically close or stay open. 
(Problem 1) How to send additional commands to a previously opened window?
(Problem 2) How to manually close the window when I'm done with it.
Sample code so far:-
Background:- The code will be used in an electronics manufacturing site to run a command line IC programmer. The intent is to open the cmd window , execute initial flash upload, then EEPROM upload and then fuse upload and finally close the cmd window. It could be done by allowing the window to close after each command and then opening another one for each new operation but that's a bit messy.
Any help would be gratefully received.
Cheers,
Owen.
Bookmarks