How to create Cmder shortcut to start a task

cmdershortcuts

I created a simple task that will start the Linux subsystem, execute zsh and run it on my desktop. However I would like to create a shortcut for this specific task on my taskbar.

Reason for this is because I don't want Cmder to do that by default, I want two separate buttons – one for regular and other for Ubuntu Subsystem.

Any ideas of how to do that? I've tried "C:\Program Files\Cmder\Cmder.exe" /single /cmd {Bash:Ubuntu} but it gives error The syntax of the command is incorrect. and loads default Cmder task.

Here is how my task looks like task

Best Answer

Here are two options:

You can set cmder to show your tasks on the windows taskbar. In the settings check under Task bar > Add ComEmu tasks to taskbar and be sure to hit Update now!

If you still want to create the shortcut, this command seems to do the trick:

"C:\Program Files\Cmder\vendor\conemu-maximus5\ConEmu64.exe" -run {Task}

Use ConEmu64.exe or ConEmu.exe (accordingly) inside your vendor\conemu-maximus5 folder of your cmder installation.

Related Question