delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/12/20:49:46

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <29948673.post@talk.nabble.com>
Date: Tue, 12 Oct 2010 17:49:31 -0700 (PDT)
From: Autotoonz <david DOT topley AT acma DOT gov DOT au>
To: cygwin AT cygwin DOT com
Subject: nodosfilewarning not working
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Executing scripts with DOS style pathnames causes the following error:
MS-DOS style path detected
CYGWIN environment variable option "nodosfilewarning" turns off this
warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames

Annoyingly, setting a local environment variable *doesn't* turn off this
warning, and possibly as a form of punishment to DOS users there is no
further information in the Help and FAQ. Apparently, setting a Windoze
System Environment Variable may solve the problem, but in any case this is
useless for anyone who wants to block the message for individual scripts, or
(like me) has a locked-down Windoze PC.

Here is the command line I'm running: C:\cygwin\bin\bash --login
C:\test\test.sh


-- 
View this message in context: http://old.nabble.com/nodosfilewarning-not-working-tp29948673p29948673.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
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