I have trcRom and I cannot change PATH via script file.
Changing environment variables only affects the current shell, and if you export the variable any subsequent child processes.
Changing the PATH variable from the command line is changing your curent shell, so will work fine.
If you have a script (say myscript) that sets the PATH to x, then exits. it will run the script in a new shell, change the PATH in the new shell only as it cannot change the parent shells environment, when it exits your PATH goes back to the calling shells value.
If you run the script with
. ./myscript
then the dot forces the script to be run in your current shell rather than a new one, and the PATH variable will be set as according to \"myscript\".
Alternativly set the PATH and export it in a script that runs before your shell fires up. ie in ~/.profile.
note: This is not zaurus specific, and applies to all unix operating systems.
Peter.