X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.3 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 Message-ID: <251156.73972.qm@web94504.mail.in2.yahoo.com> Date: Thu, 10 Jun 2010 21:27:18 +0530 (IST) From: prakash babu Subject: Re: setting CYGWIN=nodosfilewarning not working. To: cygwin AT cygwin DOT com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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 I tried setting it in the under the System Variables section but still I a= m getting this warning. Is there any other way to set the CYGWIN env variable. thanks, Prakash --- On Thu, 6/10/10, Andy Koppe wrote: > From: Andy Koppe > Subject: Re: setting CYGWIN=3Dnodosfilewarning not working. > To: cygwin AT cygwin DOT com > Date: Thursday, June 10, 2010, 7:04 PM > 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: > > =A0MS-DOS style path detected: C:/cygwin > > =A0Preferred POSIX equivalent is: / > > =A0CYGWIN environment variable option > "nodosfilewarning" turns off this warning. > > =A0Consult the user's guide for more details about > POSIX paths: > > =A0 =A0http://cygwin.com/cygwin-ug-net/using.html#using-pathnames > > > > To suppress this warning I set the environment > variable CYGWIN=3Dnodosfilewarning by > MyComputer-->Advanced-->EnvironmentVariables, but > still I am getting this warning. >=20 > Make sure you set it under "System variables" rather than > "User > variables for ...". >=20 > Andy >=20 > -- > Problem reports:=A0 =A0 =A0=A0=A0http://cygwin.com/problems.html > FAQ:=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0=A0=A0http://cygwin.com/faq/ > Documentation:=A0 =A0 =A0 =A0=A0=A0http://cygwin.com/docs.html > Unsubscribe info:=A0 =A0 =A0 http://cygwin.com/ml/#unsubscribe-simple >=20 >=20 -- 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