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