Whenever we launch a 64-bit application after launching a 32-bit application, the 64-bit application fails to launch. However, each application when launched individually, opens up fine and, it opens up fine when launching the 64-bit application first as well
%ProgramFiles% variable points to Program Files directory, which stores all the installed program of Windows and others. The default on English-language systems is C:\Program Files. In 64-bit editions of Windows (XP, 2003, Vista), there are also %ProgramFiles(x86)% which defaults to C:\Program Files (x86) and %ProgramW6432% which defaults to C:\Program Files. The %ProgramFiles% itself depends on whether the process requesting the environment variable is itself 32-bit or 64-bit (this is caused by Windows-on-Windows 64-bit redirection).