title: How can I run script files by their shortcuts in Windows?
body: <p>Tried naive way with a standard Windows shortcut file and with a cmd.exe, failed like this:</p>
  
  <pre><code>D:\...&gt;node tty-checker.js.lnk
  D:\...\tty-checker.js.lnk:1
  (function (exports, require, module, __filename, __dirname) { L
  
  
  SyntaxError: Unexpected token ILLEGAL
      at exports.runInThisContext (vm.js:53:16)
      at Module._compile (module.js:414:25)
      at Object.Module._extensions..js (module.js:442:10)
      at Module.load (module.js:356:32)
      at Function.Module._load (module.js:313:12)
      at Function.Module.runMain (module.js:467:10)
      at startup (node.js:136:18)
      at node.js:963:3
  </code></pre>
  
  <p>Maybe you can suggest a way?</p>
  
  <p>Amazing if there is a general method working not only for .js, but for any other source code file type too.</p>