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 "(a)tramodir\graph\series\sername.txt"
else
...
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.
Original:
! del /Q *.t && cd @tramodir && @tramo -i sername ...
Changed:
! del /Q *.t
! cd @tramodir && "@tramo" -i sername ...
(where the following material "..." is unchanged).
Allin Cottrell