[REBOL] Re: rebol and boot path
From: petr:krenzelok:trz:cz at: 29-Jun-2001 14:14
Chris wrote:
> Petr Krenzelok wrote:
>
> > Hi,
> >
> > just small note - wouldn't it be better for rebol to look for user.r
> > file (and all script run with path-less parameter on the same path as
> > path to .exe is specified):
>
> Isn't there a REBOL_HOME environmental variable you can set to set the
> location of these files?
So,
1) How/where to set such variable under W2K?
2) is the current aproach really practical? Let's say some externall app
launches your rebol, so e.g. apache, so you inherit launcher app directory
and you have to specify e.g. c:/pekr/rebol/command/rebol.exe -cs
c:/pekr/rebol/command/my-script.r and you are left with following problems:
a) it will look for user.r file in launcher app directory
b) try to use View and -i switch - it will be ignored (which I reported
being a bug) and you will end up with installation screen. View needs two
additional files, or it will try install itself ...
c) what if you have more rebol exes scattered on your hd? Which of them
will you choose as REBOL_HOME?
-pekr-