# Run speedtest in exec node

**URL:** <https://discourse.nodered.org/t/run-speedtest-in-exec-node/35972>\
**Category:** General\
**Created:** [15 November 2020 19:48 UTC](https://discourse.nodered.org/t/run-speedtest-in-exec-node/35972 "2020-11-15T19:48:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sniicker](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sniicker/32/56525_2.png) [@sniicker](https://discourse.nodered.org/u/sniicker)\
**Post date:** [15 November 2020 19:48 UTC](https://discourse.nodered.org/t/run-speedtest-in-exec-node/35972/1 "2020-11-15T19:48:06Z")

</div>

Hi guys, i need your help pls.

im running node red on a win10 machin up to date.  
i installed speedtest cli for win from [Speedtest net](https://www.speedtest.net/apps/cli)  
i activated the environmet variable mentioned [here](https://medium.com/@fruitfuljoseph/how-to-get-ooklas-speedtest-cli-on-windows-ubuntu-macos-146813922cfd)

when i run the command **speedtest --format=json** in the command line it works fine.  
when i try the same in the exec node i get back an error: **command not find**  
when i try **ping [www.google.com](http://www.google.com)** it also works fine

pls help. thx

---

<div class="post-metadata">

**Author:** ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)\
**Post date:** [15 November 2020 19:53 UTC](https://discourse.nodered.org/t/run-speedtest-in-exec-node/35972/2 "2020-11-15T19:53:05Z")

</div>

Try it with the full path where speedtest.exe is installed.  
For example **C:\program files\speedtestdinges\speedtest --format=json**

---

<div class="post-metadata">

**Author:** ![sniicker](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sniicker/32/56525_2.png) [@sniicker](https://discourse.nodered.org/u/sniicker)\
**Post date:** [16 November 2020 06:47 UTC](https://discourse.nodered.org/t/run-speedtest-in-exec-node/35972/3 "2020-11-16T06:47:53Z")

</div>

Thx man. that was a really nice tip.  
But the real problem i the whitespace between **program files** in the path of the invironment variable  
You have to set ""

So for me that works fine:

**"C:\program files\xxxxxxyyxx\speedtest.exe"**  
**--format=json**

---

<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:** [30 November 2020 06:47 UTC](https://discourse.nodered.org/t/run-speedtest-in-exec-node/35972/4 "2020-11-30T06:47:58Z")

</div>

Closed on 30 November 2020 06:47 UTC

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