The examples I've offered previously illustrate correct interpretation
of OS context, when processed by OS commands; they also illustrate that
MSYS commands, (well, "ls" anyway), seem to interpret "d:pathname" as if
it had been specified as "d:/pathname"; to me, (and you now appear to
agree), this seems like a bug in MSYS. However, I see no evidence to
support the claim that "MSYS is somehow modifying CWD, and failing
to return to previous CWD".
1) But, we have found a bug (case 4.1) ? If yes, do I need to do something now? email to someone to communicate it?
5- MINGW: c:\users\k -> ls c:windows -> list of files -> no OK in my opinion , not the same result as 4.1
2) I get this value from registry -> c:\Windows\Adam. Then I need to check if the folder exist. If the folder doesn't exist, then I can't "cd mypath && pwd -W" or "cd mypath && echo $PWD". So it is no possible to get the $PWD in forward slashes like c:/Windows/Adam.