Ok, here is the flow:
[
{
"id": "b7788b76618998c9",
"type": "inject",
"z": "abf5ea63e2bde491",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "str",
"x": 150,
"y": 220,
"wires": [
[
"cc8509fa75f8b090"
]
]
},
{
"id": "1305f97d9387aa79",
"type": "debug",
"z": "abf5ea63e2bde491",
"name": "debug 19",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 540,
"y": 220,
"wires": []
},
{
"id": "cc8509fa75f8b090",
"type": "file in",
"z": "abf5ea63e2bde491",
"name": "",
"filename": "z:\\test.txt",
"filenameType": "str",
"format": "utf8",
"chunk": false,
"sendError": false,
"encoding": "none",
"allProps": false,
"x": 340,
"y": 220,
"wires": [
[
"1305f97d9387aa79"
]
]
}
]
Looks like this
Output on the failing computer:
18/03/2023, 15:29:34[node: cc8509fa75f8b090](http://localhost:1880/#)
msg : error
"Error: ENOENT: no such file or directory, open
Output on the succeeding computer:
18/03/2023, 15:31:09[node: debug 19](http://pavilion.local:1880/#)
msg.payload : string[32]
"This is not a test! It's a pipe!"
On both nodes, after a boot, I create an unprivileged CMD window and issue the command node-red
When you said this:
So we are back to trying to understand what is different between running something in Node-RED and running from the command line.
I'm not clear what you mean. I'm doing what seems to me to be identical operations on both computers. The older computer is running an earlier point version of Windows 10, but you are running Windows 11, so it can't be that.
Anyway, thanks very much for taking to the time to help me!
B.