Hello,

I am relatively new to FreeSurfer, so this may be a silly question, but when i run any of the recon-all commands such as:

recon-all -autorecon-pial -subjid SMART001bT1

OR

recon-all -s SMART001bT1 -autorecon2 -autorecon3

OR

recon-all -s SMART001bT1

I keep getting this error:

if: Expression Syntax

Anyone know what may be causing this?

Kind Regards,
Harry