Ok, I'm going to take a step back for a second.
Your first post - which I can sort of understand - was vague. No specifics. Ok, you are testing the water.
Was never really mentioned.
If it is one command, it is redundant making a .bat file.
But you hadn't said it was one command. You threw stuff into the thread which I don't understand. It was just text to me.
Then there is the path.
Again, not really of concern, but since you now declared it......
In the node-red
exec node you put the command (the FULL command with path declared).
As I showed you in the node I posted.
That will execute the command.
What happens next is determined by you. Timing is going to be a bit difficult, but I think one of the outputs of the node tells you if the command was successful and you could use that to trigger the next part/stage.
But again I ask: What is Node-Red doing in the bigger scheme of things?
I don't know what
IIOT is. Combining algorithms and integration on a single platform?
Isn't that the job of a computer?
Ok. But you need to know the stages of flow of what happens when and to whom.
Then determine how to handle that and get what you want.
It isn't going to be a 20 second trip to do it.
I have been using Node-Red for abut 1.5 years and I know nothing about it. All I do is try.
I'm not going to look at the last post re: "Can you explain the exe node".
I think I have already and done more now.
And I have explained if it is one command it is redundant.
You enter the command you want to be executed.
You can use the
msg.payload as an option.
I am now struggling to construct words.
See what you make of this reply.