I can’t type it all out on my phone, but use
createfile to build a batch with all those commands.
Be sure to set
action uses wow64 redirection false and then execute the batch.
As it is now, all your references to \windows\system32 will be redirected to act on \windows\syswow64 instead, until you disable the wow64 redirection.