This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Design issue with new MS-DOS style path warning?
On Wed, Jan 20, 2010 at 05:11:28PM -0800, Batson, Chuck wrote:
>Hello folks,
>
>I am aware it is possible to disable the "MS-DOS style path detected"
>warning with the 'nodosfilewarning' option.
>
>But this message raises the question of, "What is the Cygwin ideal?"
>That is, how to avoid the warning in a "clean" way without resorting to
>the 'nodosfilewarning' option?
>
>There is a situation in which it is not conceptually "clean" to avoid
>the warning: at the interface between the host OS and Cygwin tools.
>
>Say, for example, you create a Windows batch file containing the line:
>
> touch C:\foo.txt
>
>You will receive the warning "MS-DOS style path detected." How do you
>avoid the warning without resorting to 'nodosfilewarning'?
touch /cygdrive/c/foo.txt
cgf
--
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