www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/10/09:35:12

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <484684.61127.qm@web94502.mail.in2.yahoo.com>
References: <484684 DOT 61127 DOT qm AT web94502 DOT mail DOT in2 DOT yahoo DOT com>
Date: Thu, 10 Jun 2010 14:34:54 +0100
Message-ID: <AANLkTikJ4E5P36SNfYpyxeg2hn7zp8-N3qCMf844_buJ@mail.gmail.com>
Subject: Re: setting CYGWIN=nodosfilewarning not working.
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin 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

On 10 June 2010 12:55, prakash babu wrote:
> I have a web application which runs as SYSTEM user in windows.
> It executes the following command using Java Runtime.exec api's
> C:/cygwin/bin/sh.exe -c C:/cygwin/bin/mkdir.exe -p 'C:/cygwin/tmpdir'
>
> The command executes fine but I get the following warning.
>
> cygwin warning:
> =C2=A0MS-DOS style path detected: C:/cygwin
> =C2=A0Preferred POSIX equivalent is: /
> =C2=A0CYGWIN environment variable option "nodosfilewarning" turns off thi=
s warning.
> =C2=A0Consult the user's guide for more details about POSIX paths:
> =C2=A0 =C2=A0http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
>
> To suppress this warning I set the environment variable CYGWIN=3Dnodosfil=
ewarning by MyComputer-->Advanced-->EnvironmentVariables, but still I am ge=
tting this warning.

Make sure you set it under "System variables" rather than "User
variables for ...".

Andy

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