cmderdev / cmderdev/cmder

[Enhancement] First time Git Installation error is misleading: The batch file cannot be found

Open
#2,980 20 comments 0 reactions 1 assignee View on GitHub

@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
  1. I downloaded
    https://github.com/cmderdev/cmder/releases/download/v1.3.25/cmder.zip

  2. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.