View Single Post
Old Mar 25th, 2008, 12:05 AM   #13
Jimbo
Battle Programmer
 
Jimbo's Avatar
 
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 748
Rep Power: 3 Jimbo is on a distinguished road
Re: Spaces in path names

Quote:
Originally Posted by estergon View Post
Oh that's it It worked! Thanks a lot. So the key was to use double quotes while calling the variable as well as while defining the variable, eh?!
The reason the quotes worked is like this: without the quotes your like
cd $HDA1
would evaluate to
cd /mnt/hda1/Documents and Settings
See the problem? The quotes don't follow through the evaluation so the space breaks your path.
__________________
<insert disclaimer here>
<insert shameless plug for Visual Studio here>
Jimbo is offline   Reply With Quote