On 8/25/2020 11:51 PM, Eliot Moss wrote:
Agreed that / vs \ is sometimes no problem. I do know that Windows Java really 
wants ; and not : when giving multiple path names ... EM

Sent from my iPhone

On Aug 25, 2020, at 10:50 PM, Brian Inglis <brian.ing...@systematicsw.ab.ca> 
wrote:

On 2020-08-25 18:36, Eliot Moss wrote:
Dear Luc
You should be aware that while Cygwin can invoke Java, the Windows Java still
expects _Windows-style_ arguments, including Windows paths, etc.
For example, not a/b/c:d/e but 'a\b\c;d\e" for a path.

Just because you're using Cygwin, the installed Java is not "magically"
transported to the Linux world!

You may also run into issues around line endings (CR/LF vs LF only, and so 
forth).

Many Windows APIs and programs accept either path separator and in such cases
there are seldom issues as long as the paths are not too long e.g. try:

    $ /proc/cygdrive/c/Windows/System32/icacls path/with/slash/delimiters

and many programs, including editors and terminals, do a good job of adapting to
line endings, including mintty and less.

Apologies for the top-posting. Not sure my phone supports any other way, but if I end up wanting to post from my phone, I will see what I can do! Eliot Moss
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to