I'm seeing that an environment variable in a cmd window called “CommonProgramFiles” changes from “C:\Program Files\Common Files” to “C:\Program Files (x86)\Common Files” when inside the KSH on a Win 7 x64 SP1 machine.
This is causing an issue when the shell is forked to call other things using backticks. Can anyone suggest a workaround?
The first thing to check is the existence of the following profile files: $HOME/.bash_profile $HOME/.bash_login $HOME/profile.ksh ($HOME/.profile on UNIX systems) $HOME/.profile where $HOME should be the concatenation of the values $HOMEDRIVE$HOMEPATH (%HOMEDRIVE%%HOMEPATH% in the Windows/DOS command line).
One of these files likely exists, and is initializing a new value for the $PATH variable.
Kind Regards, Kael Lizak
Senior Technical Support Engineer PTC Integrity Lifecycle Manager