cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

MKS KSH Issues on Win 7 x64 SP1

KaelLizak
16-Pearl

MKS KSH Issues on Win 7 x64 SP1

MKS KSH Issues on Win 7 x64 SP1 (migrated thread) Posted: May 23, 2012 4:22 PM

jason.steiner Posts: 1 Registered: May, 2012



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?
Re: MKS KSH Issues on Win 7 x64 SP1 Posted: May 25, 2012 12:35 PM
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

Kind Regards,
Kael Lizak

Senior Technical Support Engineer
PTC Integrity Lifecycle Manager
0 REPLIES 0
Announcements


Top Tags