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: Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de>
Date: Fri, 23 Apr 1999 16:52:55 +0200
Message-Id: <37208947.73BA740A@informatik.med.uni-giessen.de>
To: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>, W3 Jigsaw Mailinglist <www-jigsaw@w3.org>

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 GMT

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