Guest

Share this post

Link to post

Share on other sites

Yes, that works launching a single instance of cmd.exe. But does exists a way to do exactly what i wrote?

I am failing to see the difference between what you initially asked and the result of what was suggested, can you try expanding on what you want to achieve?

Additionally, I presume that your actual GOAL is NOT that of having one or more CMD.EXE windows echoing to screen "Hello World" , please do state the actual GOAL, there might be different ways to achieve that.

to set focus to the already active CMD window and paste/execute in it some command.

This still seems completely unlike being a GOAL (or if it is a goal, it appears like a senseless one ).

BTW, you seem like having a tradition of being reluctant in providing the actual scope of what you are asking for, posting instead "vague" or "generic" examples, which everytime need some back and forth rounds of questions to actually get what the actual question is about. (and hopefully provide an appropriate solution/answer/advice)