This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: setting CYGWIN=nodosfilewarning not working.
- From: Andy Koppe <andy dot koppe at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 10 Jun 2010 14:34:54 +0100
- Subject: Re: setting CYGWIN=nodosfilewarning not working.
- References: <484684.61127.qm@web94502.mail.in2.yahoo.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:
> ÂMS-DOS style path detected: C:/cygwin
> ÂPreferred POSIX equivalent is: /
> Â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
>
> To suppress this warning I set the environment variable CYGWIN=nodosfilewarning by MyComputer-->Advanced-->EnvironmentVariables, but still I am getting 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