delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/09/04:20:40

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3C3C0B07.10200@syntrex.com>
Date: Wed, 09 Jan 2002 10:19:03 +0100
From: Pavel Tsekov <ptsekov AT syntrex DOT com>
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" <sangbum DOT lee AT oracle DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: [Q]Windows PATH is not working..
References: <3C3C048C DOT 11CDC477 AT oracle DOT 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 AT leesb-kr ~
> $ which notepad
> /cygdrive/c/WINNT/system32/notepad
> 
> leesb AT leesb-kr ~
> $ cygpath -w /cygdrive/c/WINNT/system32/notepad
> c:\WINNT\system32\notepad
> 
> leesb AT leesb-kr ~
> $ c:\WINNT\system32\notepad
> bash: c:WINNTsystem32notepad: command not found
> 
> leesb AT 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 AT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019