delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.0 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <30044541.post@talk.nabble.com> |
Date: | Sun, 24 Oct 2010 19:32:24 -0700 (PDT) |
From: | Autotoonz <david DOT topley AT acma DOT gov DOT au> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: nondosfilewarning help |
In-Reply-To: | <30016692.post@talk.nabble.com> |
MIME-Version: | 1.0 |
References: | <30016692 DOT post AT talk DOT nabble DOT com> |
X-IsSubscribed: | yes |
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 |
I had the same problem last week, and I suspect that I somehow mistyped the DOS variable name set CYGWIN=nodosfilewarning When I tried typing it at the DOS command prompt, it worked fine. By that stage I had overwritten my batch file and removed the nodosfilewarning variable because I concluded that it made no difference, so if you still have your original batch file then keep a copy of it so we can verify where the mistake is. First create a simple bash script called test.sh containing a single command that uses a DOS pathname, (such as ls C:\) or copy your bash script as test.sh Then copy and paste these DOS commands into a batch file called test.bat set CYGWIN=nodosfilewarning C:\cygwin\bin\bash --login C:\test\test.sh Open a DOS cmd window and run the batch file by typing "test.bat" and enter (without quotes) After the batch file has been run, if you still get the warning then obviously the fault is due to something other than a typo. In that case you should be able to figure out what is wrong in the current DOS window, so type the following at the DOS command prompt: set All the DOS environment variables will be displayed, so check that the CYGWIN variable has been set correctly. It should appear in the list as: set CYGWIN=nodosfilewarning If this is correct and everything is working correctly, then we should now be able to tinker with your original DOS batch file until we can isolate where the typo is, or what else has possibly failed in DOS. -- View this message in context: http://old.nabble.com/nondosfilewarning-help-tp30016692p30044541.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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |