Arg... boys and girls certainly by now you know how to run and check all that stuff as even BATCH can properly test for x64 and the correct folder.

Since Lonkero has already written a UDF for this I won't bother with the code but perhaps those with a bit of time might want to revisit batch and adjust for KiX coding.