# Why this happens on Windows:\`\`\`julia&gt; run(\`echo hello\`)ERROR: IOError: could

**URL:** <https://discourse.julialang.org/t/why-this-happens-on-windows-julia-gt-run-echo-hello-error-ioerror-could/54209>\
**Category:** General Usage\
**Created:** [January 29, 2021, 6:48pm UTC](https://discourse.julialang.org/t/why-this-happens-on-windows-julia-gt-run-echo-hello-error-ioerror-could/54209 "2021-01-29T18:48:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BridgeBot](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bridgebot/32/21491_2.png) [@BridgeBot](https://discourse.julialang.org/u/BridgeBot)\
**Post date:** [January 29, 2021, 6:48pm UTC](https://discourse.julialang.org/t/why-this-happens-on-windows-julia-gt-run-echo-hello-error-ioerror-could/54209/1 "2021-01-29T18:48:35Z")

</div>

Why this happens on Windows:  
`julia&gt; run(`echo hello`) ERROR: IOError: could not spawn `echo hello`: no such file or directory (ENOENT)`

[(Original message :slack:)](https://julialang.slack.com/archives/C6A044SQH/p1611935530105400?thread_ts=1611935530.105400&cid=C6A044SQH)

---

<div class="post-metadata">

**Author:** ![sairus7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sairus7/32/10816_2.png) [@sairus7](https://discourse.julialang.org/u/sairus7)\
**Post date:** [January 29, 2021, 6:49pm UTC](https://discourse.julialang.org/t/why-this-happens-on-windows-julia-gt-run-echo-hello-error-ioerror-could/54209/2 "2021-01-29T18:49:35Z")

</div>

`cmd /c echo hello` solves the problem (thanks to @fredrikekre )
