Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!uunet!aplcen!haven!adm!news From: anamaria%saffron.wpd@sgi.com (Ana Maria De Alvare') Newsgroups: comp.unix.wizards Subject: Re: cd problem Message-ID: <24089@adm.BRL.MIL> Date: 9 Aug 90 16:32:38 GMT Sender: news@adm.BRL.MIL Lines: 18 In csh you can test in an if statement if the directory exist and then do the cd. For example: if (-d directoryname) then echo it exist else echo it does not exist endif Ana Maria ------------------------------------------------------------------------------- Ana Maria De Alvare' MTS Secure IRIX Silicon Graphics, Inc. anamaria@sgi.COM {decwrl,sun}!sgi!whizzer!saffron!anamaria 415-335-1549 -------------------------------------------------------------------------------