> Date: Fri, 9 Dec 2022 10:29:44 +0100 > From: Frank Redeker <frank****@razor*****> > > Hello List, > > I have a strange behavior when the executing a program in a MSYS shell > version 5.1.8. I'm on Windows 10 Version 22H2 (OS Build 19045.2251). The > strange behavior occurs when a path is on a drive created with subst. > > The following steps can be used to reproduce the behavior. > > Inside a Windows CMD > > C:\Users\f.redeker>subst s: "C:\Program Files\Common Files\System" > C:\Users\f.redeker>subst > S:\: => C:\Program Files\Common Files\System > > Inside a shell version 5.1.8 > > sh-5.1$ uname -a > MSYS_NT-10.0-18362 MIMIR-W10-64 3.2.0-340.x86_64 2021-07-02 08:36 UTC > x86_64 Msys > > sh-5.1$ sh --version > GNU bash, version 5.1.8(1)-release (x86_64-pc-msys) > Copyright (C) 2020 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > <http://gnu.org/licenses/gpl.html> > > This is free software; you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. I think you are using MSYS2 programs, in which case you are in the wrong mailing list. MSYS supported by this list is version 1.0.17 and its Bash is version 3.1.17(1).