Christopher Faylor wrote: > On Tue, Mar 02, 2010 at 06:44:45PM +0000, Dave wrote: >> Also, is the d:\ within quotes later in the command erronously >> triggering the nodosfile warning? I'm not expecting to see it here. > > I guess this is a FAQ. The error message comes from an attempt to do a > file access using an MS-DOS path. It does not come from random use of > backslashes in the command line. > > If you see the error then something is trying to use MS-DOS paths.
That's what I thought, but the command that's being run doesn't have an MSDOS path except as an argument to the script that bash couldn't find: C:\Users\andy>C:\cygwin\bin\bash -c "/bin/xhere /bin/bash.exe 'd:\我的工作'" ^ That's ok, cmd sees that one. ^ bash should try to find xhere But we first get the warning: --- cygwin warning: MS-DOS style path detected: /bin/xhere /bin/bash.exe 'd:\鎴戠殑宸ヤ綔' Preferred POSIX equivalent is: /bin/xhere /bin/bash.exe 'd:/鎴戠殑宸ヤ綔' ... ---- Note that it complains about xhere, bash and d:\xxx in one string. And finally we get a can't find 'xhere bash d:\xxx': --- /usr/bin/bash: /bin/xhere /bin/bash.exe 'd:\我的工作': No such file or directory --- Dave. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple