Hi, You forgot to precede $s with -subjid. Not sure about the loop structure, I don't use C-shells much these days. Cheers, Johannes
I used the following command:
foreach s (Patient01 Patient02 Patient03) recon-all $s -all end
The error message is:
s: undefined variable
Any idea what is wrong in the command?