Different PATH environment variable for 32bit and 64bit Windows - is it possible?

Posted by Piotr Dobrogost on Super User See other posts from Super User or by Piotr Dobrogost
Published on 2011-02-18T20:06:33Z Indexed on 2012/09/12 3:41 UTC
Read the original article Hit count: 235

Is it possible to have whole or part of PATH environment variable specific to the type of running process's image (32bit/64bit)? When I run some app from within 64bit cmd.exe I would like to have it pick the 64bit version of OpenSSL library whereas when I run some app from within 32bit cmd.exe I would like to have it pick the 32bit version of OpenSSL library.

FOLLOW UP
where.exe does not find OpenSSL libs when %ProgramFiles% variable is used in the PATH environment variable

© Super User or respective owner

Related posts about Windows

Related posts about 64-bit