bat file to node windows 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…
});