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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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