On Tuesday 29 May 2007 15:54:17 you 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\
------
Not, sorry, I am not correct here, I think "shelldir" only affects to shell
commands.
But you may do this:
string mydir = c:\your directory\
and for the output filenames use @mydir\filename
--
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