Version Information
Cmder version: 1.3.25
Operating system: windows 10 22H2
Description of the Issue
When starting Cmder, an error message appears that says: "it should not be here..." followed by several system environment PATH variable entries. Additionally, the ls and pwd commands fail with an "error not found" message.
Upon further investigation, I found that one of the PATH environment variable entries contained a double-quoted string. After removing the double quotes from that entry, Cmder initialized correctly.
It seems this issue affects Cmder only during its initial setup. Once Cmder initializes successfully, it can start normally in subsequent runs, even if the PATH variable contains quoted entries.
Steps to Reproduce
- Add a double-quoted string to one of the
PATH entries in the environment variables.
- Start Cmder for the first time on the computer.
- Observe the error during initialization.