This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Making Unix like paths work when using java program from Cygwin
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