Re: How to set the "current directory" of a CGI in jigsaw ?

Hi !

----

Benoit Mahe wrote:

> > > Well, it is something you can't do in Java. I tried to do that because some cgi
> > > script need it, but I didn't find how to do it in Java.
> > > But you can now add some environement variables in the CgiFrame, may be
> > > this could help your script.
> >
> > Is it allowed to "wrap" an execulable in a batch script (WinNT) ?
> >
> > Like this:
> >
> > RunCocLib.bat:
> > -- snip --
> > D:
> > cd foo/bar/meeeee/muuuuhhh
> > CocLib.exe
> > -- snip --
> >
> > And then running "RunCocLib.bat" instead of "CocLib.exe"...
> >
> > Does this work ?
>
> Yes, this should work. It's not very nice, but it should works ;-)

Please make a small note in the CGIFrame docs (as a working "workaround" for WinNT and
Unix, other OSes untested...).
Due some PM's, this seems to be a very common problem...

----

Bye,
Roland

--
  __ .  . __
 (o.\ \/ /.o)  Roland Mainz                               C programmer
  \__\/\/__/   Roland.Mainz@informatik.med.uni-giessen.de MPEG specialist
  /O /==\ O\   gisburn@w-specht.rhein-ruhr.de             Sun&&Amiga programmer
 (;O/ \/ \O;)  TEL +49 (0) 2426901568  FAX +49 (0) 2426901569

Received on Friday, 23 April 1999 10:52:33 UTC