How do I cd / into a windows directory that has a space in the folder name (eg Program Files)? I have tried to run WINE and cannot open any folder with a space in the name. I have renmaed the folder to remove the space - but then the program cannot find the necessary file to run (such as dlls. Suggestions? Thanks ===== Stephen W Sarasota, FL "A merry heart doeth good like a medicine ..." Proverbs __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover
On Monday 10 May 2004 21:56, Stephen W wrote:
How do I cd / into a windows directory that has a space in the folder name (eg Program Files)?
I have tried to run WINE and cannot open any folder with a space in the name. I have renmaed the folder to remove the space - but then the program cannot find the necessary file to run (such as dlls.
Suggestions?
I think you had to put a "\" with out the quotes in the blank space. Been a while since I have done but I think that is right. Jim
James Smullins wrote:
On Monday 10 May 2004 21:56, Stephen W wrote:
How do I cd / into a windows directory that has a space in the folder name (eg Program Files)?
I have tried to run WINE and cannot open any folder with a space in the name. I have renmaed the folder to remove the space - but then the program cannot find the necessary file to run (such as dlls.
Suggestions?
I think you had to put a "\" with out the quotes in the blank space. Been a while since I have done but I think that is right.
Jim
That won't work, ~> cd cxoffice/support/dotwine/fake_windows/Program \ Files bash: cd: cxoffice/support/dotwine/fake_windows/Program: No such file or directory It should be "Program Files", on some directories like My Documents, cd My<TAB> inserts the " <space>\<space> ", then D<TAB> supplies Documents to give My \ Documents. Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer Linux Only Shop.
Sid, The backslash character is the 'escape character'. An escape character changes how the interpreter uses the following character and in this case changes the space from being a delimiter to being a part of the two words around it. So, you only need one space, after the backslash like this... cd My\ Documents HTH Damon
-----Original Message----- From: Sid Boyce [mailto:sboyce@blueyonder.co.uk] Sent: 11 May 2004 08:31 To: suse-linux-e@suse.com Subject: Re: [SLE] shell question
James Smullins wrote:
On Monday 10 May 2004 21:56, Stephen W wrote:
How do I cd / into a windows directory that has a space in the folder name (eg Program Files)?
I have tried to run WINE and cannot open any folder with a space in the name. I have renmaed the folder to remove the space - but then the program cannot find the necessary file to run (such as dlls.
Suggestions?
I think you had to put a "\" with out the quotes in the blank space. Been a while since I have done but I think that is right.
Jim
That won't work, ~> cd cxoffice/support/dotwine/fake_windows/Program \ Files bash: cd: cxoffice/support/dotwine/fake_windows/Program: No such file or directory
It should be "Program Files", on some directories like My Documents, cd My<TAB> inserts the " <space>\<space> ", then D<TAB> supplies Documents to give My \ Documents. Regards Sid.
-- Sid Boyce .... Hamradio G3VBV and keen Flyer Linux Only Shop.
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Tue, 2004-05-11 at 03:31, Sid Boyce wrote:
James Smullins wrote:
On Monday 10 May 2004 21:56, Stephen W wrote:
How do I cd / into a windows directory that has a space in the folder name (eg Program Files)?
I have tried to run WINE and cannot open any folder with a space in the name. I have renmaed the folder to remove the space - but then the program cannot find the necessary file to run (such as dlls.
Suggestions?
I think you had to put a "\" with out the quotes in the blank space. Been a while since I have done but I think that is right.
Jim
That won't work, ~> cd cxoffice/support/dotwine/fake_windows/Program \ Files ^- why the extra space? All you did is escape one space and insert another one. Use it this way:
cd cxoffice/support/dorwine/fake_windows/Program\ Files -- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998 (5.2)
Stephen W wrote:
How do I cd / into a windows directory that has a space in the folder name (eg Program Files)?
I have tried to run WINE and cannot open any folder with a space in the name. I have renmaed the folder to remove the space - but then the program cannot find the necessary file to run (such as dlls.
Stephen W Sarasota, FL
Another headache caused by Microsoft. However, Linux can solve the problem by using a "\" like "Program\ Files" Leave it to people that can't understand a "_" instead of a delimiter " ". -- 73 de Donn Washburn __ " http://www.hal-pc.org/~n5xwb " Ham Callsign N5XWB / / __ __ __ __ __ __ __ 307 Savoy St. / /__ / / / \/ / / /_/ / \ \/ / Sugar Land, TX 77478 /_____/ /_/ /_/\__/ /_____/ /_/\_\ LL# 1.281.242.3256 Dump Microsoft Software - Stop virus email Email: n5xwb@hal-pc.org " http://counter.li.org " #279316
--- Donn Washburn
Stephen W wrote:
How do I cd / into a windows directory that has a space in the folder name (eg Program Files)?
I have tried to run WINE and cannot open any folder with a space in the name. I have renmaed the folder to remove the space - but then the program cannot find the necessary file to run (such as dlls.
Stephen W Sarasota, FL
Another headache caused by Microsoft. However, Linux can solve the problem by using a "\" like "Program\ Files" Leave it to people that can't understand a "_" instead of a delimiter " ". -- 73 de Donn Washburn __ " http://www.hal-pc.org/~n5xwb " Ham Callsign N5XWB / / __ __ __ __ __
Thanks I got it: cd /windows/c/Program\Files/Microsoft\Office/Office Now to try to get WINE to work it, I will let you know... Thanks again Stephen __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover
On Tuesday 11 May 2004 07:18 am, Stephen W wrote:
--- Donn Washburn
wrote: Stephen W wrote:
How do I cd / into a windows directory that has a space in the folder name (eg Program Files)?
I have tried to run WINE and cannot open any
folder
with a space in the name. I have renmaed the
folder
to remove the space - but then the program cannot
find
the necessary file to run (such as dlls.
Stephen W Sarasota, FL
Another headache caused by Microsoft. However, Linux can solve the problem by using a "\" like "Program\ Files" Leave it to people that can't understand a "_" instead of a delimiter " ". -- 73 de Donn Washburn __ " http://www.hal-pc.org/~n5xwb " Ham Callsign N5XWB / / __ __ __ __ __
Thanks
I got it:
cd /windows/c/Program\Files/Microsoft\Office/Office
Now to try to get WINE to work it, I will let you know...
Thanks again
Stephen
Not quite right yet.... need a blank before 'Files'. cd /windows/c/Program\ Files/Microsoft\Office/Office
__________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover
-- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 05/11/04 07:35 + +----------------------------------------------------------------------------+ "Keep your nose to the grindstone and your shoulder to the wheel. It's a lot cheaper than plastic surgery."
--- Bruce Marshall
On Tuesday 11 May 2004 07:18 am, Stephen W wrote:
--- Donn Washburn
wrote: Stephen W wrote:
How do I cd / into a windows directory that has a space in the folder name (eg Program Files)?
Another headache caused by Microsoft. However, Linux can solve the problem by using a "\" like "Program\ Files" Leave it to people that can't understand a "_" instead of a delimiter " ".
I got it:
cd /windows/c/Program\Files/Microsoft\Office/Office
Now to try to get WINE to work it, I will let you know...
Thanks again
Stephen
Not quite right yet.... need a blank before 'Files'.
cd /windows/c/Program\ Files/Microsoft\Office/Office
Actually I just copy/pasted this from the shell entry that got me there: /windows/c/Program\Files/Microsoft\Office/Office Seems though I need to reload Office via WINE to get it to work... it is not working from the MS install. Stephen ===== Stephen W Sarasota, FL "A merry heart doeth good like a medicine ..." Proverbs __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover
On Mon, 2004-05-10 at 21:56, Stephen W wrote:
How do I cd / into a windows directory that has a space in the folder name (eg Program Files)?
I have tried to run WINE and cannot open any folder with a space in the name. I have renmaed the folder to remove the space - but then the program cannot find the necessary file to run (such as dlls.
Suggestions?
cd /windowc/C/Program\ Files/program Mike
Stephen W wrote:
How do I cd / into a windows directory that has a space in the folder name (eg Program Files)?
I have tried to run WINE and cannot open any folder with a space in the name. I have renmaed the folder to remove the space - but then the program cannot find the necessary file to run (such as dlls.
Suggestions?
Did you try using quotes around the path name?
participants (10)
-
Bruce Marshall
-
Damon Jebb
-
Donn Washburn
-
James Knott
-
James Smullins
-
Kenneth Schneider
-
Mark Evans
-
Mike McMullin
-
Sid Boyce
-
Stephen W