This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Q]Windows PATH is not working..


Please, stick to posting to the list - I and many others
read it.

S.B.(SangBum) LEE wrote:

> It didn't fix, as you see below..
> 
> leesb@leesb-kr ~
> $ c:\\WINNT\\system32\\notepad.exe
> bash: c:\WINNT\system32\notepad.exe: command not found
> 
> Pavel Tsekov wrote:
> 
> 
>>S.B.(SangBum) LEE wrote:
>>
>>
>>>Hi. cygwiners..
>>>
>>>I have installed cygwin(DLL version: 1.3.6) on Win 2K & met the following problem.
>>>
>>>
>>>leesb@leesb-kr ~
>>>$ which notepad
>>>/cygdrive/c/WINNT/system32/notepad
>>>
>>>leesb@leesb-kr ~
>>>$ cygpath -w /cygdrive/c/WINNT/system32/notepad
>>>c:\WINNT\system32\notepad
>>>
>>>leesb@leesb-kr ~
>>>$ c:\WINNT\system32\notepad
>>>bash: c:WINNTsystem32notepad: command not found
>>>
>>>leesb@leesb-kr ~
>>>$ c:\WINNT\system32\notepad.exe
>>>bash: c:WINNTsystem32notepad.exe: command not found
>>>
>>The backslashes in you command line have to be escaped i.e.
>>instead of typing just '\' you have to type '\\'. This is
>>because the shell, I assume you're using bash, threats the
>>'\' character in a special fashion.
>>
>>Maybe you have to read the FAQ and other docu available at
>>cygwin.com. Just a friendly advise :)
>>
>>
>>>leesb@leesb-kr ~
>>>$ /cygdrive/c/WINNT/system32/notepad <-- in this case, it's working fine.
>>>
>>Yep - this is a absolute POSIX path, so no problems with it.
>>



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]