I would like to build an executable Octave script for windows
<p>How can I build an executable Octave script for Windows, I don't want an standalone executable that doesn't require Octave, just an executable script that runs Octave and the script after double-click on the file.</p>

<p>I've tried to make a <code>.bat</code> file like this:</p>

<pre><code>C:\(Octave full path)\bin\octave C:\(My m file full path)\pruebaoc.m
</code></pre>

<p>but I get this error:</p>

<blockquote>
  <p>liboctgui-1.dll is missing </p>
</blockquote>

<p>which is weird because Octave works fine on my computer, if I write those same lines manually on the CMD it works.</p>