From: cabrera AT wrc DOT xerox DOT com (Jose I. Cabrera) Subject: bash scripts and cd's.... 26 Nov 1998 01:06:41 -0800 Message-ID: <365C55B5.733F7445.cygnus.gnu-win32@wrc.xerox.com> References: <199809071110 DOT HAA03366 AT web06 DOT iname DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: gnu-win32 AT cygnus DOT com I have NT4SP3 running Cygnus v20. I have a script: --- begin script --- #! /bin/sh cd k: cd NormalDirectory cd "Directory with a spaces in between" exit 0 --- end script --- This executes ok. But, when I do a ls, the files echo'ed are the files from HOME. why? If I do this manually, I could get to "Directory with a spaces in between". Any idea why? What I would like to happen is when I run this script, I would like bash to point to the contents of "Directory with a spaces in between". Any help is already appreciated. thanks, jose - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".