0

I am using the same, longer command line with some arguments every day and it would be nice, if there were some possibility to make some shortcut for it. Is there any?

nicusska
  • 177
  • 1
  • 2
  • 9
  • What command line exactly are you using? – reto Mar 11 '15 at 10:35
  • It is our internal command line with argument which allow to see error logs, doskey works for me, but I want ConEmu to remember it all the time. – nicusska Mar 11 '15 at 13:21

1 Answers1

0

Learn aliases. Of course they depends of shell you're using. Doskey for cmd, alias for powershell or tcc, and so on.

Also. ConEmu has GuiMacro feature. You may set up user hotkeys with print function.

Maximus
  • 10,751
  • 8
  • 47
  • 65
  • I followed this -> http://superuser.com/questions/556248/creating-alias-in-conemu. But It does not recognized it in my created tasks with more panes and I don't know what I did wrongly. – nicusska Mar 11 '15 at 13:34
  • Without clearly described problem nobody can help you – Maximus Mar 11 '15 at 15:49
  • I have created "Task" (as it is called in Settings -> Tasks) in Conemu with multiple consoles, so I have one window which is split into more terminals. I followed your advance in link mentioned above. I created aliases.cmd as you described and set **cmd /k "%ConEmuBaseDir%\aliases.cmd"** into Settings->Startup->Command line. Everything would work fine, but when I open my "Task" with more terminals in one window, it did not recognize my created alias. I tried to put cmd /k "%ConEmuBaseDir%\aliases.cmd" into terminal manually, and it works, but after new startup, it does not recognize again. – nicusska Mar 12 '15 at 08:26
  • You've created Task. You are running Task. Why do you think that "Startup command line" matters? Add your batch into Task contents of course. – Maximus Mar 12 '15 at 12:16
  • I added it but it did not work, but I set it wrongly. Now it works like I wanted to, thank you. – nicusska Mar 12 '15 at 14:31