Quote:
Originally Posted by squid_80
No, %windir% should include the drive letter at the start.
Also, IsWow64Process() is not suitable to detect if the OS is 64-bit, it only reports if the current process is 64-bit. This is noted on the IsWow64Process MSDN page.
|
I see, i only tested 32 bit so far
guess i will go with
set x264=32
if exists "%Windir%\SysWOW64" GOTO X1
GOTO END
:x1
set x264=64
GOTO END
:END
start "encode" /b /low /max /wait "%mypath%\bin\%x264%.exe"
But what if it is dual boot and the folder is there but he is running on the 32 bit ?