X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-5.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_YG X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <1337353913.48698.YahooMailClassic@web28605.mail.ukl.yahoo.com> References: <1337353913 DOT 48698 DOT YahooMailClassic AT web28605 DOT mail DOT ukl DOT yahoo DOT com> Date: Fri, 18 May 2012 11:15:26 -0400 Message-ID: Subject: Re: Making Unix like paths work when using java program from Cygwin From: Earnie Boyd To: narium85-mlscar AT yahoo DOT co DOT uk, 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q4IFFm60009331 On Fri, May 18, 2012 at 11:11 AM, Marilo wrote: > The java aspect looks like a red herring as not relevant to the problem. > > You want to run a *nix shell script and presumably don't want to write your own bat file doing the same job. > > I'm probably missing something but given that there's cygwin, and it's a *nux script, what about just editing the script for your computer, amending the paths in the script, with  a find and replace, so /ABC/XYZ is replaced with /cygdrive/c/ABC/XYZ and running the script in cygwin. http://cygwin.com/acronyms/#TOFU Why invent that wheel when you have cygpath already to do the job? And java isn't going to understand /cygdrive/c either. -- Earnie -- https://sites.google.com/site/earnieboyd -- 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