Please remember to post to the list ...
Can you run it with --debug as the first option, then post all of the terminal output?

On 10/28/2020 11:21 PM, Elisabetta Ambron wrote:

        External Email - Use Caution        

Dear Prof Greve
I am  having an issue running reg-feat2anat and I get the following error

Initializing exf2anat with header
tkregister2_cmdl_cmdl --targ /Applications/freesurfer/7.1.1/subjects/sub1/mri/brainmask.mgz --mov BLOCK1_LEFT.feat/example_func.nii.gz --reg BLOCK1_LEFT.feat/reg/freesurfer/anat2exf.register.dat.init --fslregout BLOCK1_LEFT.feat/reg/freesurfer/exf2anat.init.fsl.mat --regheader --noedit
tkregister2_cmdl_cmdl: Command not found.

I saw your answer in
https://www.mail-archive.com/freesurfer@nmr.mgh.harvard.edu/msg65643.html
I was not able to download the link because it requires an user and password.
Could you help me with this issue 
Thank you
Best
Elisabetta Ambron