Can someone help me in finding a solution for executing a batch file using java-script, i am currently working with nw.js and i tried couple of things which worked for .exe but not for .bat
var execFile = require
('child_process').execFile, child;
child = execFile('C:\\WorkLog\\Software\\abc.exe', //works
//child = execFile('C:\\PDFRotation\\Run.bat', //not working