Move config files elasticsearch 6.10 (Windows)

Hello,

Installing Elasticsearch 6.1.0 on a new Windows 2012 R2 server using the zip file. I'd like to change the location of the config files. Just a couple of questions:

  1. Do I need to manually create the environment variable ES_HOME?
  2. To move the conf location, do I need to run ES_PATH_CONF=D:\Shares\Elasticsearch\config D:\Program Files\ELK\Elasticsearch\6.1.0\bin in the command prompt, and is this the correct syntax?
  3. Does the ES_PATH_CONF environmental variable need creating?

Thanks
Tony

  1. No
  2. No
  3. Set manually