W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 1999

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

From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
Date: Fri, 23 Apr 1999 16:38:21 +0200
Message-ID: <372085DD.EC118954@sophia.inria.fr>
To: Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de>
CC: W3 Jigsaw Mailinglist <www-jigsaw@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:29 GMT