Use correct script name in docs for Windows

With this commit we correct the name of the ES batch script to
`elasticsearch.bat` in the docs and use backslashes in path names.
This commit is contained in:
Daniel Mitterdorfer 2017-05-16 15:57:05 +02:00
parent 1e97184519
commit 77762fcbb0
1 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ Elasticsearch can be started from the command line as follows:
[source,sh] [source,sh]
-------------------------------------------- --------------------------------------------
.\bin\elasticsearch .\bin\elasticsearch.bat
-------------------------------------------- --------------------------------------------
By default, Elasticsearch runs in the foreground, prints its logs to `STDOUT`, By default, Elasticsearch runs in the foreground, prints its logs to `STDOUT`,
@ -54,7 +54,7 @@ and can be stopped by pressing `Ctrl-C`.
[[windows-configuring]] [[windows-configuring]]
==== Configuring Elasticsearch on the command line ==== Configuring Elasticsearch on the command line
Elasticsearch loads its configuration from the `%ES_HOME%/config/elasticsearch.yml` Elasticsearch loads its configuration from the `%ES_HOME%\config\elasticsearch.yml`
file by default. The format of this config file is explained in file by default. The format of this config file is explained in
<<settings>>. <<settings>>.
@ -63,7 +63,7 @@ the command line, using the `-E` syntax as follows:
[source,sh] [source,sh]
-------------------------------------------- --------------------------------------------
./bin/elasticsearch -Ecluster.name=my_cluster -Enode.name=node_1 .\bin\elasticsearch.bat -Ecluster.name=my_cluster -Enode.name=node_1
-------------------------------------------- --------------------------------------------
NOTE: Values that contain spaces must be surrounded with quotes. For instance `-Epath.logs="C:\My Logs\logs"`. NOTE: Values that contain spaces must be surrounded with quotes. For instance `-Epath.logs="C:\My Logs\logs"`.