Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-28-2003, 02:28 PM   #1
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 31
Question cd to a directory with spaces?

okay i was just searching through my windows hdd, and i realized i couldn't access My Documents because the directory Documents and Settings has spaces in it. Now i dont think this is a really complicated problem (at least i cant imagine it being so) but how do i enter that directory? im absolutely stumped and i feel very newbish >_<
Old 08-28-2003, 02:31 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
cd My\ Documents
'\ ' means a single space. You can do the same with other changacters with special meaning.
Old 08-28-2003, 04:53 PM   #3
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Original Poster
Rep: Reputation: 31
thanks a bunch ^_^
Old 08-28-2003, 05:00 PM   #4
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
or cd 'My Documents'

cd "My Documents"


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
replacing all spaces in filenames of a directory merlin23 Linux - Newbie 1 01-11-2005 07:52 AM
smbclient spaces in directory names? darkleaf Linux - Networking 2 11-23-2004 02:25 PM
backup from directory with spaces dennis_89 Linux - Networking 7 06-21-2004 10:14 PM
directory-names with spaces... Schmurff Linux - Newbie 2 03-07-2004 11:06 AM
spaces WindowsDefector Linux - Newbie 2 05-23-2002 02:03 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration