Raphael Summers <raphael@cs.man.ac.uk> wrote:
> export MYMUSIC=/mnt/windows/Documents\ and\ Settings/Administrator/My\
> Documents/My\ Music
>
> On attempting to cd to $MYMUSIC, it complains that there does not
> exist a directory /mnt/windows/Documents\
Since the variable's value contains whitespace, you must quote the
variable expansion to avoid word splitting:
cd "$MYMUSIC"
paul