05-16-2016 08:40 AM
Hi,
I want to insert multiple commands in the same cmd window. I use system exec vi but i don't manage to get it work.
So, I have 10 command to be inserted in my cmd windows and for first I insert 5 command and after I receive a trrigger from an external device (It could be last 5 or 10 seconds or more), the remained commands need to be inserted in the same cmd window.
Attached you will find how I aborded the problem so far, maybe somebody can help me.
Regards,
Vlad
05-16-2016 09:16 AM - edited 05-16-2016 09:18 AM
Put them in a batch file and then call the batch file with the systemexec.
05-16-2016 09:35 AM
Hi,
It wont help me, because i dont need to send all the commands at same time in the same cmd window.
As I said in the first post, I need to send in the first instance a number of commands and after a specific time (waiting for a trigger) another commands in the same cmd window.
Thank you.
05-16-2016 09:38 AM
A batch file can do that and it is really the only way you are going to be able to use the same systemexec window for multiple commands.