Hi,
Remove "#!/bin/csh" from your script. This instructs the shell to begin a new shell session to execute your script. This is why it does not change your 'current' directory. It is the 'new' shell session which changes directory and then that session exits when the script is done.
Kate
Reputation Points: 10
Solved Threads: 1
Junior Poster in Training
Offline 71 posts
since Jun 2005