This is the mail archive of the
mailing list for the Cygwin project.
PATH with spaces
- From: Sunoki <jean dot felsky at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 30 Jan 2011 03:34:05 -0800 (PST)
- Subject: PATH with spaces
First of all, let me introduce myself... my name is Jean, but you can call
me Sunoki and I am a 26 year old computer scientist from Brazil... I'm
running Windows 7 at home and I should have installed some linux
distribution, but I have a small personal project and I wondered it would be
easier to just work on it using Cygwin... well, I might be wrong... ^_^ I
installed it yesterday with the default option including the Perl section...
and I'm having a error on the PATH and I believe because windows has spaces
on the directories names... let me explain you... my PATH is the following:
$ printenv PATH
/usr/local/bin:/usr/bin:/bin:/cygdrive/c/Program Files (x86)/PC Connectivity
am Files (x86)/ATI Technologies/ATI.ACE/Core-Static:/cygdrive/c/Program
les (x86)/Common Files/Symbian/tools:/cygdrive/c/Program Files (x86)/CSL Arm
and when I try to run the make I would like to I have the following error:
MS-DOS style path detected: /usr/local/bin/C:\Program
Preferred POSIX equivalent is: /usr/local/bin/C:/Program
CYGWIN environment variable option "nodosfilewarning" turns off this
Consult the user's guide for more details about POSIX paths:
Can't find C:\Program on PATH.
I believe that the "can't find error" is happening because the Cygwin does
not understand the "Program Files (x86)" as one thing... it stops after the
first space and causes the error. Am I right? How can I fix it?
I tried mounting this directory as another one without spaces, I tried to
rewrite the PATH enclosing the words with spaces in "". But so far nothing
Can you help me, please?
View this message in context: http://old.nabble.com/PATH-with-spaces-tp30799162p30799162.html
Sent from the Cygwin list mailing list archive at Nabble.com.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple