Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Message-ID: <3C3C0B07.10200@syntrex.com> Date: Wed, 09 Jan 2002 10:19:03 +0100 From: Pavel Tsekov User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 To: "S.B.(SangBum) LEE" CC: cygwin@cygwin.com Subject: Re: [Q]Windows PATH is not working.. References: <3C3C048C.11CDC477@oracle.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/