public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Doug Henderson <djndnbvg@gmail.com>
To: cygwin <cygwin@cygwin.com>
Subject: Re: cygpath 3.3.4 : incorrect windows to unix path conversions
Date: Tue, 28 Jun 2022 08:48:51 -0600	[thread overview]
Message-ID: <CAJ1FpuMDFK9Sfm3MSRrUt6CZYUdiJnOri5sHpNG6yCB5qv1aaw@mail.gmail.com> (raw)
In-Reply-To: <CACNhcBEFQnPdHLFpMp9ktVV1cKvT6rOFv9LH4iRxz+V4SSzZ4Q@mail.gmail.com>

On Tue, Jun 28, 2022 at 1:46 AM Timothee Besset <ttimo@ttimo.net> wrote:
>
> Hello,
>
> We are seeing some odd behavior from cygpath.exe when it is copied and used
> outside the normal cygwin installation directory:
>

Don't do this if you just need to convert Linux style file paths to
windows file paths.

Use the cygpath.exe from MSYS2 by installing it and adding its bin
directory to your windows path.

This does not require the cygwin1.dll, and is designed to interoperate
well with windows.

If you need to interact with the cygwin environment from powershell,
start powershell from the bash prompt so PS is embedded in the cygwin
environment. Then all the mounts expected by cygwin programs are
established, so when you run cygwin programs from PS, they run in the
env they expect.


HTH
Doug

-- 
Doug Henderson, Calgary, Alberta, Canada - from gmail.com

      parent reply	other threads:[~2022-06-28 14:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-28  7:44 Timothee Besset
2022-06-28  8:19 ` Andrey Repin
2022-07-18 15:22   ` Timothee Besset
2022-06-28  9:24 ` Takashi Yano
2022-06-28 14:48 ` Doug Henderson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ1FpuMDFK9Sfm3MSRrUt6CZYUdiJnOri5sHpNG6yCB5qv1aaw@mail.gmail.com \
    --to=djndnbvg@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).