delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/20/22:30:03

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 20 Jan 2010 22:29:44 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Design issue with new MS-DOS style path warning?
Message-ID: <20100121032944.GA21227@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <81D39E818991E549B1F66EB6A7D18422BE8626 AT AVSMOEXCL02 DOT activision DOT com>
MIME-Version: 1.0
In-Reply-To: <81D39E818991E549B1F66EB6A7D18422BE8626@AVSMOEXCL02.activision.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019