X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.5 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> From: Julio Costa Date: Fri, 11 Jun 2010 10:36:31 +0100 Message-ID: Subject: Re: setting CYGWIN=nodosfilewarning not working. To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 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 On Thu, Jun 10, 2010 at 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' > (snip) > > Is there any other way to set the CYGWIN environment variable. > Yes there are. Try launching like this: C:/cygwin/bin/sh.exe -c "CYGWIN=nodosfilewarning /bin/mkdir -p 'C:/cygwin/tmpdir'" -- ___________ Julio Costa -- 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