# Setup.bat file is not recognized as an internal or external command, operable program or batch file

**URL:** https://discuss.elastic.co/t/setup-bat-file-is-not-recognized-as-an-internal-or-external-command-operable-program-or-batch-file/141053
**Category:** Logstash
**Created:** [July 22, 2018, 10:14pm UTC](https://discuss.elastic.co/t/setup-bat-file-is-not-recognized-as-an-internal-or-external-command-operable-program-or-batch-file/141053 "2018-07-22T22:14:32Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Shraddha\_Srivastav](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@Shraddha\_Srivastav](https://discuss.elastic.co/u/Shraddha_Srivastav)
#### Post date: [July 22, 2018, 10:14pm UTC](https://discuss.elastic.co/t/setup-bat-file-is-not-recognized-as-an-internal-or-external-command-operable-program-or-batch-file/141053/1 "2018-07-22T22:14:32Z")

</div>

Hi guys,

i m trying to run my config file to pass the data to the ES. I have the error in running my config file. Please help!

below is the snapshot of config file which i have saved in my bin folder.

 ![logstash](https://us1.discourse-cdn.com/elastic/original/3X/e/e/ee722ea7345fd7eaaf510d19b1fcdce891341a91.PNG)

Also, i m not able to find setup.bat file in logstash folder. Should i download logstash again and run it?

TIA!

---

<div class="post-metadata">

### Author: ![Shraddha\_Srivastav](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@Shraddha\_Srivastav](https://discuss.elastic.co/u/Shraddha_Srivastav)
#### Post date: [July 22, 2018, 10:21pm UTC](https://discuss.elastic.co/t/setup-bat-file-is-not-recognized-as-an-internal-or-external-command-operable-program-or-batch-file/141053/2 "2018-07-22T22:21:48Z")

</div>

Hey guys,  
I reinstalled logstash and now could see the setup.bat file in bin folder.  
I now run the same config file as above i get the following error please help:

Unrecognized VM option 'UseParNewGC'  
Error: Could not create the Java Virtual Machine.  
Error: A fatal exception has occurred. Program will exit.

TIA

---

<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 19, 2018, 10:21pm UTC](https://discuss.elastic.co/t/setup-bat-file-is-not-recognized-as-an-internal-or-external-command-operable-program-or-batch-file/141053/3 "2018-08-19T22:21:58Z")

</div>

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