[Gretl-users] TRAMO in Gretl: two qustions
cottrell at wfu.edu
Mon Apr 27 10:38:17 EDT 2009
On Mon, 27 Apr 2009, yinung at Gmail wrote:
> 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"
> But it does not work. Am I wrong with it?
I'm not sure if it makes any difference, but I did not put quotes
around "@tramodir", as in "cd @tramodir". In fact I changed one
line of the original shell commands, breaking it into 2 lines.
! del /Q *.t && cd @tramodir && @tramo -i sername ...
! del /Q *.t
! cd @tramodir && "@tramo" -i sername ...
(where the following material "..." is unchanged).
More information about the Gretl-users