# ES\_PATH\_CONF not working in windows

**URL:** <https://discuss.elastic.co/t/es-path-conf-not-working-in-windows/190179>\
**Category:** Elasticsearch\
**Created:** [July 12, 2019, 8:59am UTC](https://discuss.elastic.co/t/es-path-conf-not-working-in-windows/190179 "2019-07-12T08:59:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vishwajeet\_singh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vishwajeet_singh/32/48795_2.png) [@Vishwajeet\_singh](https://discuss.elastic.co/u/Vishwajeet_singh)\
**Post date:** [July 12, 2019, 8:59am UTC](https://discuss.elastic.co/t/es-path-conf-not-working-in-windows/190179/1 "2019-07-12T08:59:23Z")

</div>

Hi Team,

I am trying to change my config files path in elasticsearch , I am using zip for instaling elastic version 7.1 and running below command

ES\_PATH\_CONF=/home/elasticuser/myconfig ./bin/elasticsearch

You can also see the same in below screen. Could you please let me know what I am doing wrong here??

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/1/4130275be214cb060a4273fc796e3211b9235efa.png)

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 12, 2019, 10:18am UTC](https://discuss.elastic.co/t/es-path-conf-not-working-in-windows/190179/2 "2019-07-12T10:18:14Z")

</div>

Please don't post images of text as they are hardly readable and not searchable.

Instead paste the text and format it with `</>` icon. Check the preview window.

I guess you need to read the Windows documentation on how to define user or system variables.  
From my old memory days, I think it was something you can find in the System control panel (where you define also `PATH` and such variables).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 9, 2019, 10:18am UTC](https://discuss.elastic.co/t/es-path-conf-not-working-in-windows/190179/3 "2019-08-09T10:18:20Z")

</div>

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