Skip to content

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

@mrx23dot

Description

@mrx23dot

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions