Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
| |||||
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? |
| |||
Posted By: mlizak Posts: 72 / Registered: Feb, 2011 | |||
Hello Jason, 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. Regards, Kael |