title: Scala scripts in Windows batch files
body: <p>In Programming in Scala, it gives a description on how to run Scala scripts from batch files (<a href="http://www.artima.com/pins1ed/scala-scripts-on-unix-and-windows.html" rel="noreferrer">link</a>).</p>
  
  <p>For Windows</p>
  
  <pre><code>  ::#!
    @echo off
    call scala %0 %*
    goto :eof
    ::!#
  </code></pre>
  
  <p>I'm having a problem googling <code>::#!</code>. What does this mean? I know <code>::</code> denotes a comment and in Unix <code>#!</code> is a direction to the shell to be used, but what is it exactly here? And the <code>::!#</code>?</p>
  
  <p>What exactly does <code>%0 %*</code> mean, and is it necessary to express it like this? </p>
  
  <p>Is it possible to run multiple scripts from the same batch file?</p>