# Running loadti from node red

**URL:** https://discourse.nodered.org/t/running-loadti-from-node-red/90509
**Category:** General
**Created:** [28 August 2024 16:04 UTC](https://discourse.nodered.org/t/running-loadti-from-node-red/90509 "2024-08-28T16:04:04Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![nearbyatom](https://avatars.discourse-cdn.com/v4/letter/n/ec9cab/32.png) [@nearbyatom](https://discourse.nodered.org/u/nearbyatom)
#### Post date: [28 August 2024 16:04 UTC](https://discourse.nodered.org/t/running-loadti-from-node-red/90509/1 "2024-08-28T16:04:04Z")

</div>

I have a basic flow here. I press the inject, and it supposed to execute loadti.

It works from my command prompt. But from node red, I get this:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/7/77dcf1f34f67a68e8b2203a9aa153646358c53be.png)

It says loadti is not recognized, how do I get node red to recognize it?

```auto
[
    {
        "id": "40b946fbdf71c29d",
        "type": "tab",
        "label": "Flow 3",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "7de8f851aea157ed",
        "type": "exec",
        "z": "40b946fbdf71c29d",
        "command": "loadti",
        "addpay": "",
        "append": "",
        "useSpawn": "false",
        "timer": "10",
        "winHide": false,
        "oldrc": false,
        "name": "",
        "x": 290,
        "y": 140,
        "wires": [
            [
                "e5dd55cfa19c9fe3"
            ],
            [
                "09d5ddc4e92bbd78"
            ],
            [
                "62a5ceed6d329dfd"
            ]
        ]
    },
    {
        "id": "e5dd55cfa19c9fe3",
        "type": "debug",
        "z": "40b946fbdf71c29d",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 470,
        "y": 120,
        "wires": []
    },
    {
        "id": "09d5ddc4e92bbd78",
        "type": "debug",
        "z": "40b946fbdf71c29d",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 475,
        "y": 160,
        "wires": []
    },
    {
        "id": "62a5ceed6d329dfd",
        "type": "debug",
        "z": "40b946fbdf71c29d",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 470,
        "y": 200,
        "wires": []
    },
    {
        "id": "64e86d81a626f60c",
        "type": "inject",
        "z": "40b946fbdf71c29d",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 120,
        "y": 140,
        "wires": [
            [
                "7de8f851aea157ed"
            ]
        ]
    }
]

```

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [28 August 2024 16:26 UTC](https://discourse.nodered.org/t/running-loadti-from-node-red/90509/2 "2024-08-28T16:26:39Z")

</div>

The PATH environment variable is probably different inside node-red. Try specifying the full path to the command. Probably something like `/usr/bin/loadti`. You can use `which loadti` to find where it is, assuming you are using a linux distribution. If you are on Windows then I don't know how to find it. When specifying the path use forward slashes not backslashes even if on windows.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [26 November 2024 16:27 UTC](https://discourse.nodered.org/t/running-loadti-from-node-red/90509/3 "2024-11-26T16:27:31Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
