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/