This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: [Q]Windows PATH is not working..
- From: Pavel Tsekov <ptsekov at syntrex dot com>
- To: "S.B.(SangBum) LEE" <sangbum dot lee at oracle dot com>
- Cc: cygwin at cygwin dot com
- Date: Wed, 09 Jan 2002 10:19:03 +0100
- Subject: Re: [Q]Windows PATH is not working..
- References: <3C3C048C.11CDC477@oracle.com>
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/