require('child_process').exec('cmd /c batfile.bat', function(){ // …you callback code may run here… });