Kibana showing 'WHERE' is not an int or ext command on start up

Apparently WHERE should just be part of cmd.exe. Why you don't have it on your system, I do not know. Why the bat script stops I also do not know, as I don't see the same thing happening on my end.

The bottom line is, we should be shipping different script files with the build that don't try to fall back to any system-installed node version anyway.