Best Batch File IDE for Validator
<p>I have a <a href="http://pastebin.com/Q0rjXCyU" rel="nofollow noreferrer">batch file</a> which generate so <a href="http://pastebin.com/DiHL6WHb" rel="nofollow noreferrer">many erros</a>. I have tried some batch IDE, but no clue which code is wrong. 
I need something like netbeans for java, Visual Studio for VB and C#, etc.
What should I use for batch file?
I can't see what is wrong, but the error ie.</p>

<pre><code>'else' is not recognized as an internal or external command,
</code></pre>

<p>appears.
It really painful to code without IDE since I need to prepare files and setting so many things to testing. What I need is something like error suggestion like this picture below but for batch file:</p>

<p><a href="https://i.stack.imgur.com/Z6LXL.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Z6LXL.jpg" alt="error suggestion"></a></p>

<p>So, if my "if else" block is wrong, tell me please that my if else is not proper before I test the batch file directly.</p>

<p>Need suggestion please, maybe online tools is ok. Like HTML validator, JSON validator is ok. I need validator for batch file.
Offline tool or IDE is better.</p>