A Bit Overkill of verifying what version of EXE to use (x32/x64), with error handling.
I use 'ie4uinit.exe -ClearIconCache || ie4uinit.exe -show' as an example for an execute that exist in both-folders.
This is just a dictionary code, you can make it more efficient by storing the files and paths using 'SET', and even skip the x32 check or put the x32 path in a variable and optinally overwrite it, then executing the file blindly.
P.s just f.y.i. - executing 'ie4uinit' from either x32 or x64 does not really makes a difference (this is just an example..)
%WINDIR%\\SysWOW64\\NULis a small trick to see if the path is a folder.