Put this in:
Code:
var WindowStyle_Hidden = 0
var objShell = WScript.CreateObject("WScript.Shell")
var result = objShell.Run("cmd.exe /c abc.bat", WindowStyle_Hidden)
Route your batch file from this:
(Basically, just delete that and route it. Remember, route it correctly with the back slashes and the exact location. By the way, I don't take the credit for the code, I got it off a website however I put it into my own words.
To execute your batch file, you must run the js file and from there, it'll hide the batch file and run it.