View Single Post
Old Mar 24th, 2008, 9:00 PM   #8
Seif
Hobbyist Programmer
 
Seif's Avatar
 
Join Date: Jan 2006
Location: UK
Posts: 244
Rep Power: 3 Seif is on a distinguished road
Re: Spaces in path names

a shot in the dark but change jessehks:

$ HDA1="/mnt/hda1/Documents and Settings"
$ cd $HDA1

to:

$ HDA1="/mnt/hda1/Documents and Settings"
$ cd "$HDA1"

?

has been a while since i've written a shell script
Seif is offline   Reply With Quote