how to get program files x86 env variable?

On a 64-bit machine running in 64-bit mode: echo %programfiles% ==> C:\Program Files echo %programfiles(x86)% ==> C:\Program Files (x86) On a 64-bit machine running in 32-bit (WOW64) mode: echo %programfiles% ==> C:\Program Files (x86) echo %programfiles(x86)% ==> C:\Program Files (x86) On a 32-bit machine running in 32-bit mode: echo %programfiles% ==> C:\Program Files echo %programfiles(x86)% … Read more

Using %PROGRAMFILES(x86)% on Windows OS 32bit

According to this the environment variable %PROGRAMFILES(x86)% is only available on 64-bit systems. However, if you are on a 64-bit system and use %PROGRAMFILES%, the result you get depend on whether the process requesting the environment variable is 32-bit or 64-bit. So from a 64-bit process on a 64-bit system you would get C:\Program Files, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)