On Thu, 4 Sep 2003, Martin Maurer wrote: > Hello, > > when i call > > myeditor.exe /etc/services > > where myeditor is a win32 editor program, then i get a error messages > that the file > > d:\cygwin\home\martin\tc\services > > does not exist. I think there a two problems: > > 1) instead of ...\etc\... there is only ...\tc\... > 2) etc directory is not in ...\home\martin... > > Is this only a problem of my system, or also reproduceable on other systems > ? > > BTW: I am using default shell after installation, which i think is bash. > Got the same error on my previous version (perhaps two weeks old). > > Greetings, > Martin Maurer ([EMAIL PROTECTED])
This is expected behavior. Remember, "myeditor" is a Windows program, and thus interprets the leading "/e" as a flag, which leaves "tc/services" as the filename. Since you're most likely running it from your home directory, this explains the prepended "c:\cygwin\home\martin\". You should use "cygpath" to convert Cygwin POSIX paths to a format that Windows programs can understand, e.g., myeditor.exe "`cygpath -w /etc/services`" Hope this helps, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/