On Tue, Jun 28, 2022 at 1:46 AM Timothee Besset <tt...@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 -- 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