# 'robot' is not recognized as an internal or external command

**URL:** <https://forum.robotframework.org/t/robot-is-not-recognized-as-an-internal-or-external-command/5225>\
**Category:** Jenkins\
**Created:** [30 January 2023 20:10 UTC](https://forum.robotframework.org/t/robot-is-not-recognized-as-an-internal-or-external-command/5225 "2023-01-30T20:10:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![a-mamlouk](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/a-mamlouk/32/2271_2.png) [@a-mamlouk](https://forum.robotframework.org/u/a-mamlouk)\
**Post date:** [30 January 2023 20:10 UTC](https://forum.robotframework.org/t/robot-is-not-recognized-as-an-internal-or-external-command/5225/1 "2023-01-30T20:10:05Z")

</div>

Hello i am trying to test robot framework via jenkins, when i execute i get this error

FYI:  
I am not using a virtual env  
Python 3.11.1  
pip 22.3.1 from C:\Users\Tester\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip (python 3.11)  
robotframework 6.0.2  
Path contain :  
C:\Users\Tester\AppData\Local\Programs\Python\Python311\Scripts  
C:\Users\Tester\AppData\Local\Programs\Python\Python311

 ![Untitled](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/6/6ce038db95a7bd154561e98d72ced766c6a04c0d.png)

the command works using cmd terminal, i need some assistance  
Kind regards,

---

<div class="post-metadata">

**Author:** ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)\
**Post date:** [30 January 2023 21:40 UTC](https://forum.robotframework.org/t/robot-is-not-recognized-as-an-internal-or-external-command/5225/2 "2023-01-30T21:40:24Z")

</div>

This is a typical error in Jenkins.

You need to set the PATH to include Python\Scripts.

---

<div class="post-metadata">

**Author:** ![a-mamlouk](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/a-mamlouk/32/2271_2.png) [@a-mamlouk](https://forum.robotframework.org/u/a-mamlouk)\
**Post date:** [31 January 2023 10:13 UTC](https://forum.robotframework.org/t/robot-is-not-recognized-as-an-internal-or-external-command/5225/3 "2023-01-31T10:13:46Z")

</div>

Thank you for assisting me, do i set them in the windows VAR environment or in the batch command ?

---

<div class="post-metadata">

**Author:** ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)\
**Post date:** [31 January 2023 11:46 UTC](https://forum.robotframework.org/t/robot-is-not-recognized-as-an-internal-or-external-command/5225/4 "2023-01-31T11:46:04Z")

</div>

You can set in Jenkins job definition or pipeline `environment`.  
Or in the batch file.  
You can also create a .properties (Java style) file.

---

<div class="post-metadata">

**Author:** ![a-mamlouk](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/a-mamlouk/32/2271_2.png) [@a-mamlouk](https://forum.robotframework.org/u/a-mamlouk)\
**Post date:** [31 January 2023 12:06 UTC](https://forum.robotframework.org/t/robot-is-not-recognized-as-an-internal-or-external-command/5225/5 "2023-01-31T12:06:24Z")

</div>

i am still a junior, more like a newbie haha, i didn’t understand what you ve said, is ot possible to send screenshots or a video that explains that ?

---

<div class="post-metadata">

**Author:** ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)\
**Post date:** [31 January 2023 14:29 UTC](https://forum.robotframework.org/t/robot-is-not-recognized-as-an-internal-or-external-command/5225/6 "2023-01-31T14:29:48Z")

</div>

Sorry, you as a newbie must learn how to search the Internet.  
For example, [“set PATH in Jenkins jobs”](https://www.iwgtfy.com/?q=set+PATH+in+Jenkins+jobs)
