On Wed Jan 14 08:22:37 2026 +0000, eric pouech wrote:
even if Wine kernel APIs accept both '/' and '\\' in pathnames, always enforcing in cmd raises some other issues: * '/' is also used as the start of a (builtin) command option, so '/foo' can either be interpreted as unix absolute path /foo (expecting / to be mounted in Wine) or as option '/foo' * and '/' is interpreted as a separator in interactive prompr, not a part of a path * and native doesn't accept it as a path name did the error stem from interactive cmd usage or do you have an app which uses it? In a batch script of an installer, there is a command `pushd "C:\Program Files\some path/"`. This works correctly on Windows. I have only modified the functions related to `pushd`, and the changes do not affect other parts of the code.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9881#note_126903