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

Roland Mainz wrote:

> 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 ;-)

Regards, Benoit.

>
>
> ----
>
> 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

--
- Benoît Mahé -------------------------------------------------------
                      World Wide Web Consortium   (W3C)
                    Architecture domain - Jigsaw Engineer

                http://www.w3.org/People/Mahe  - bmahe@w3.org
---------------------------------------------------------------------

Received on Friday, 23 April 1999 10:38:25 UTC