LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-05-2002, 01:39 PM   #1
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
How to duplicate a space i.g Program Files, ?


Hi, the title is not that clear, sorry. I want to access through my command prompt the Program Files in the windows partition. But when I type cd Program Files it only takes it as if I was writting cd Program and leaves out the Files part. I tried it with _ in betwee, don't work, how can I duplucate that darn space in the command promp????
Thanks

zLinuxz
 
Old 05-05-2002, 02:45 PM   #2
Sfin
Member
 
Registered: Apr 2002
Location: Michigan
Distribution: Slackware 8.0
Posts: 197

Rep: Reputation: 30
I think if you put the name of the folder between quotation marks it will accept it.

So do:

cd "Program Files"

That should work.
 
Old 05-05-2002, 02:47 PM   #3
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Original Poster
Rep: Reputation: 45
Thumbs up

haha!, nice, thanks a lot!!...don't know why I didn't think of that!


zLinuxz
 
Old 05-05-2002, 03:03 PM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Smile

You can always use autocomplition like
cd /c/Prog [at this point hit tab key]
it will complete directory name like
cd /c/Program\ Files/
Or you can escape space with a \.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
editors and duplicate files printf Linux - Newbie 7 11-22-2005 04:54 AM
need app to remove duplicate files from the filesystem Ynot Irucrem Linux - Software 2 05-19-2005 01:35 PM
duplicate files in one folder! hornung Linux - Enterprise 1 01-13-2005 04:35 PM
Duplicate Files and linux carl0ski Linux - Software 1 12-22-2004 05:45 PM
Howto find duplicate files js72 Linux - Software 1 11-09-2003 05:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:59 PM.

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