sweet, thanks guys that worked.
 
You wouldn't happen to have any suggestions on how to pass gretlcli -b input.inp on the command line would you? It's not working in my vba script. Should it just be: C:\Program Files\gretl\gretlclie.exe -b batchfile.inp    ? That's what my vba script passes and it's not working. The first portion works though, if I just pass the location of gretl it runs...
 
Thanks,
 
Chris

 
On 5/29/07, Ignacio Diaz-Emparanza <ignacio.diaz-emparanza@ehu.es> wrote:
On Tuesday 29 May 2007 15:46:06 Sven Schreiber wrote:
> Chris schrieb:
> > Hi,
> >
> > I have a script that I want to run and put the output in the same
> > directory as the script but the directory that the script is in can
> > change. Is there a way to tell gretl to put the output in the same dir
> > as the script?
>
> Have you tried something like outfile --write ./myfile.txt?
> -sven
>

You may also use the "shelldir" parameter, for example

-------
set shelldir c:\archiv~1\gretl\tramo\graph\series
# Your commands  here
...
set shelldir c:\archiv~1\gretl\
------


--
Ignacio Diaz-Emparanza
DEPARTAMENTO DE ECONOMÍA APLICADA III (ECONOMETRÍA Y ESTADÍSTICA)
UPV/EHU
Avda. Lehendakari Aguirre, 83 | 48015 BILBAO
T.: +34 946013732 | F.: +34 946013754
www.et.bs.ehu.es

_______________________________________________
Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users