I modified that part of the script to
if WIN32
set shelldir "@tramodir\graph\series"
! del /Q *.t && cd "@tramodir" && "@tramo" -i sername -k sername.ser && cd "@tramodir\graph\series" && echo "ser_adj" > sername.txt
! type "@tramodir\ausentesp" >> sername.txt
! if exist xlin.t. (more +6 xlin.t >> sername.txt) else (more +6 xorigt.t >> sername.txt)
! type "@tramodir\ausentesf" >> sername.txt
append "@tramodir\graph\series\sername.txt"
else
...
But it does not work. Am I wrong with it?
On Sun, 26 Apr 2009, Allin Cottrell wrote:> > I downloaded "tramo.inp" and testes it. But gretl responds...
> On Sun, 26 Apr 2009, yinung at Gmail wrote:
>
> > Data file is empty...> is looking for it in the wrong place...
>
> It looks as if tramo hasn't written any output, or perhaps gretl
I just tested on Windows and got the same error that you saw, but
eventually I figured out what's wrong. If the path to tramo.exe
contains spaces (e.g. "C:\Program Files\...") you have to wrap the
@tramo variable in quotes in the relevant shell line:
if WIN32
set shelldir @tramodir\graph\series
! del /Q *.t && cd @tramodir && "@tramo" -i sername ...
Allin Cottrell
_______________________________________________
Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users