title: #!/bin/bash equivalent in windows / specify interpreter for executable script IN the script
body: <p>I don't really know which part of the described technology stack the behaviour i'm describing is actually a property of - linux, or bash/sh? but it does not really matter i guess.</p>
  
  <p>Anyway, on linux, in a bash or sh shell, i can run a script marked as executable in the file system without specifying the interpreter on the shell or somewhere global, but right in first line of the file,
  e.g.</p>
  
  <pre><code>#!/bin/bash
  #!/usr/bin/python
  </code></pre>
  
  <p>or even</p>
  
  <pre><code>#!/usr/bin/gcl -f
  </code></pre>
  
  <p>for a common lisp implementation.</p>
  
  <p>Is there a general windows, powershell or cmd.exe equivalent to this?Specifically, specifying the interpreter/command line to run the script with in the script itself, rather than on the command line or in the windows registry.</p>
  
  <p>If not, what are similar options? The most similar thing I know about are shortcuts. Is there something more similar?</p>