title: How to call .exe file with arguments from node.js
body: <p>I am trying to call an exe file from the node.js with 3 parameters. Getting error as</p>
  
  <pre><code>errno: 'ENOENT'
  code: 'ENOENT'
  </code></pre>
  
  <p>I am using 64 bit windows 10 system . Here is the code that i am using currently </p>
  
  <pre><code>var exec = require('child_process').execFile;
  
  var opt =function(){
        exec('file.EXE arg1 arg2 arg3', function(err, data) {  
          console.log(err)
          console.log(data.toString());                       
      });  
  }
  opt();
  </code></pre>