[Enhancement] First time Git Installation error is misleading: The batch file cannot be found
Open
@DRSDavidSoft is already working on this.
Since Jul 15, 2025.
🛠 Type: Feature Request
- Dominant language
- PowerShell
- Stars
- 27k
- Forks
- 2.1k
- PR merge metrics
- No merged PRs in 30d
Description
Description of the issue
On the initial setup of Cmder Full edition, when git-for-windows is performing its first time setup, the following error is displayed:
The batch file cannot be found.
This is safe and must be discarded, however, since it's displayed to the user, it sometimes lead to confusion and the user might get mislead.
How to reproduce
-
I downloaded
https://github.com/cmderdev/cmder/releases/download/v1.3.25/cmder.zip -
started it, in post installation:
'C:\WINDOWS\system32\drivers\etc\hosts' -> '/etc/hosts'
'C:\WINDOWS\system32\drivers\etc\protocol' -> '/etc/protocols'
'C:\WINDOWS\system32\drivers\etc\services' -> '/etc/services'
'C:\WINDOWS\system32\drivers\etc\networks' -> '/etc/networks'
The batch file cannot be found.
Creating user startup file: "C:\apps\cmder2\config\user_profile.cmd"
1 file(s) copied.
```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.