1

I just downloaded cmder from github and tried running cmder.bat to start it but got an error that it couldn't find conemu in the ~dp0\vendor\maximus-5\conemu folder. I figured this was because the cmder devs don't want to include the conemu files in the git repo, and indeed the path wasn't there. So I downloaded the latest release of conemu and edited the bat file to point to my conemu install, like this:

@echo off
SET CMDER_ROOT=%~dp0
start "G:\Program Files\ConEmu\ConEmu64.exe" /Icon "%CMDER_ROOT%\icons\cmder.ico" /Title Cmder /LoadCfgFile "%CMDER_ROOT%\config\ConEmu.xml"

The error's gone but it just loads the cmder icon in a picture viewer.

Jpaji Rajnish
  • 1,491
  • 4
  • 17
  • 35
  • http://stackoverflow.com/questions/112055/what-does-d0-mean-in-a-windows-batch-file – Baronz Feb 27 '16 at 22:07
  • You have to install cmder instead of cloning git sources! – Maximus Feb 27 '16 at 22:23
  • The reason I wanted to try it this way is because cmder was very buggy with Vim from the regular install. I don't see why this wouldn't work though. Is there any mistake I'm making? Isn't the start command just looking for a conemu install? – Jpaji Rajnish Feb 27 '16 at 22:44

1 Answers1

0

Cloning cmder sources has no sense unless you are ready and able to "build" cmder with scripts/build.ps1. I do not see any reason for Cmder.bat existence, it's obsolete.

The preferable way:

  • Install official versions of products ConEmu, Git and optionally clink (if you really need it). Also, you may check msys connector.
  • Or just unpack latest official relase of cmder.

Personally, I prefer official versions rather than third-party bundles.

Maximus
  • 10,751
  • 8
  • 47
  • 65