Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 24th, 2008, 9:30 PM   #11
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,435
Rep Power: 8 Ooble is on a distinguished road
Re: Spaces in path names

Ever considered a bookmark/browser synchronising tool such as Google Browser Sync?
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Mar 24th, 2008, 10:17 PM   #12
estergon
Newbie
 
estergon's Avatar
 
Join Date: Mar 2008
Posts: 8
Rep Power: 0 estergon is on a distinguished road
Re: Spaces in path names

Quote:
Originally Posted by Ooble View Post
Ever considered a bookmark/browser synchronising tool such as Google Browser Sync?
Wow! They made it!
It's like they made it just for me Obviously I am not the only one who needs it
Thank you
__________________
ESTRAGON: We've lost our rights?
VLADIMIR: (distinctly) We got rid of them.
estergon is offline   Reply With Quote
Old Mar 25th, 2008, 12:05 AM   #13
Jimbo
Expert Programmer
 
Jimbo's Avatar
 
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 706
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
Old Mar 25th, 2008, 2:55 PM   #14
estergon
Newbie
 
estergon's Avatar
 
Join Date: Mar 2008
Posts: 8
Rep Power: 0 estergon is on a distinguished road
Re: Spaces in path names

Quote:
Originally Posted by Jimbo View Post
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.
Got it, thank for the explanation
__________________
ESTRAGON: We've lost our rights?
VLADIMIR: (distinctly) We got rid of them.
estergon is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing double spaces with str_replace davil PHP 2 Dec 12th, 2007 5:19 PM
adding csc to Path Environment pr0gm3r C# 6 Sep 9th, 2005 8:52 AM
seeking best path algorithm lhk_mgtf2008 Visual Basic 9 Jun 9th, 2005 8:11 PM
How create variables to hold directory names on Windows? noleander Bash / Shell Scripting 5 Mar 7th, 2005 10:18 AM
MYSQL, pipe delimited or just spaces? scorpiosage PHP 0 Feb 8th, 2005 3:32 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:48 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC