1.解决方法1
这是PATH环境变量的问题,将windows命令的目录添加到PATH中就over了。即:在path中追加:%SystemRoot%/system32;%SystemRoot%;
2.具体某个应用找不到
把应用的目录添加到环境变量中J:\elasticsearch\logstash-6.1.0;J:\elasticsearch\logstash-6.1.0\bin;
这是PATH环境变量的问题,将windows命令的目录添加到PATH中就over了。即:在path中追加:%SystemRoot%/system32;%SystemRoot%;
把应用的目录添加到环境变量中J:\elasticsearch\logstash-6.1.0;J:\elasticsearch\logstash-6.1.0\bin;