my problem is that when I convert a .bat file to a compiled .exe file using the software "Bat to exe converter v1.6" does not work at 100%. The .bat works at 100% when I use it, but not the .exe.
The .bat file in question has two conditional expressions, but the processor architecture's one is not working:
rem the first is checking that, and its working 100%
IF %SistemaOp% == XP (goto winxp) else (goto winseven)
:winxp
echo xp
rem this is the part that it's NOT working. It never goes to 64 bit part
IF %PROCESSOR_ARCHITECTURE% == x86 (goto winxp86) else (goto winxp64)
:winxp86
echo xp 32 bit
:winxp64
echo xp 64 bit
:winseven
echo seven
rem this is the other part that it's NOT working. It never goes to 64 bit part
IF %PROCESSOR_ARCHITECTURE% == x86 (goto winseven86) else (goto winseven64)
:winseven86
echo seven 32 bit
:winseven64
echo seven 64 bit