<tt><font size=2>> <br>
> WPKG needs some kind of wrapper in one or the other way anyway as
you need to <br>
> launch cscript.exe with wpkg.js and some other arguments. So something
has to <br>
> call it. Just executing wpkg.js is not possible anyway as you need
<br>
> to launch it <br>
> with parameters.<br>
> <br>
> So I usually just keep a simple cmd script in wpkg folder to launch
it. <br>
> Three-liner, or add some more lines to define more global variables.<br>
> It doesn't <br>
> get any simpler than that.<br>
> <br>
</font></tt>
<br><tt><font size=2>Well it makes a few use cases more complicated. You
can't run WPKG from an USB Stick without some more cmd-wizardry because
you don't know the path (specifically the drive letter) of your source.
</font></tt>
<br>
<br><tt><font size=2>WPKG already has code in it to find wpkg_base. The
only step left would be exporting this as an environment variable.</font></tt>
<br>
<br><tt><font size=2>With WPKG_BASE defined and a common directory structure
you could have relative directory paths in your definitions and your WPKG
would be portable without fears that your custom cmd-fu might find a different
basedir than wpkg thinks.</font></tt>
<br>
<br><tt><font size=2>And maybe a complete CMD script less to worry about,
which is always nice. :)</font></tt>
<br>
<br><tt><font size=2>Best Regards</font></tt>
<br><tt><font size=2> Heiko Helmle</font></tt>
<br>
<br><tt><font size=2>.</font></tt>