how to run batch file in node js code example
Example: node js run bat file
require('child_process').exec('cmd /c batfile.bat', function(){
// …you callback code may run here…
});
require('child_process').exec('cmd /c batfile.bat', function(){
// …you callback code may run here…
});