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..


S.B.,

Nothing you report indicates malfunction or misbehavior, hence you need not 
attempt to fix anything.

Note that since your PATH is set so that "which" (or the BASH built-in 
"type") successfully locate the "notepad" executable, all you need to do to 
run that program is type its simple name (no path syntax, no suffix).

Work with the system and let it work for you.

Randall Schulz
Mountain View, CA USA


At 00:51 2002-01-09, 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
>
>leesb@leesb-kr ~
>$ /cygdrive/c/WINNT/system32/notepad <-- in this case, it's working fine.
>
>What should I look at to fix this? Any ideas?
>
>Please reply all because I'm not a subscriber. Thanks.


--
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]