Operating System - HP-UX
1832255 Members
2362 Online
110041 Solutions
New Discussion

cde evn variables don't work!

 
sandro ginnari
Occasional Contributor

cde evn variables don't work!

when I enter in CDE and I type in some commands it tells me that the command hasn't been found. If I give the path the command is executed.
So in the .dtprofile I uncommented the last line so that the .profile variables will be exported when I log in CDE.
But no way to make the path work!
Can someone help me??
Greetings
2 REPLIES 2
Andreas Voss
Honored Contributor

Re: cde evn variables don't work!

Hi,
did you export the variable PATH ?
Perhaps the variable PATH in the file .profile is extended (PATH=$PATH:....) and it is there a syntax error. You can set also the path in the file .dtprofile.

Greetings

Andrew
Mike Stroyan
Honored Contributor

Re: cde evn variables don't work!

I will guess that you are using HP-UX 10.20 without quality pack patches. (It is easier to diagnose things if you give the OS version.)

The setting of environment variables in ~/.dtprofile was broken by a shell defect. It is corrected by patch PHCO_19052, (or any posix shell patch since PHCO_9227 back in 1996.)