Guys,
Have you got some behavior or result or error like in my situation?
Ok, currently I have installing Windows (this situation is using windows embedded standard 8 industry 32bit) on a device running on Minnowboard Max + Atom E3845 + 16GB eMMC. I have test several windows to be run on eMMC device; Win10, Win8.1 and ongoing Win7. The node-RED (at office, we called it IoT-Studio) is copying and registering the serialport back. Currently to run the node-RED browser mode, we run CMD and node the red.js file inside the IoT-Studio folder then the flow will started.
This approach is manually typed in. So, we create a batch file to cd the directory and node the red.js file at per script below:-
echo
start chrome http://27.0.0.1:1880/
node C:\users\user\desktop\iot-studio\red.js -v
pause
All the while it running, then we are testing how it will face failed on any part and terminate the script. So, we added something like below (not sure because this batch file is on my other colleague devices) to re-run the red.js right after it failed.
echo
start chrome http://27.0.0.1:1880/
node C:\users\user\desktop\iot-studio\red.js -v
node "C:\users\user\desktop\iot-studio\red.js -v" /TOP
exit
So, it will bring up the node-RED flow right after it failed and exit.
For windows startup, we have set the batch file e.g. starter.bat into "shell:startup" folder so right after entering windows, it will start the IoT-Studio automatically.
The real deal is; when the IoT-Studio is running, we test to reboot while the flow is starting and interval is running to collect result for device failure or power failure come back. After it startup and login to windows, the command windows for running the red.js start to make something like spamming the screen. It appear visible and invisible and keep spamming screen until we close the command window. Worst case, it keep the error forever like that when we are running back the starter.bat file again; repeatedly, again.
I don't know if someone had this or seeing some pals facing this, I don't know the real solution for this. Error on command window:-

My inquiry here:-
1: What are this error mentioning to?
2: Is it a good/proper way to automate running the red.js using batch file or there is any other script that can be run on windows based that install in location of without human access?