How to open a new tab with changing working directory with Conemu

2

1

I'm using ConEmu with nyaos. When new tab is opened, I want to set same directory for new tab's working directory.

If I open a new tab by command nayos.exe -new_console, then working directory is changed as I expected.

So I created a new macro from Settings->Keys & Macro like this.

print(\enyaos.exe -new_console\n)

This macro opens a new tab, but working directory stays default.

How can I open a new tab by keeping same working directory?

ironsand

Posted 2014-04-01T14:16:42.910

Reputation: 1 757

Answers

3

You are trying wrong syntax. Proper syntax is thoroughly explained in wiki

print("\enyaos.exe -new_console\n")

Also, you may use macro without need of "print"

Shell("new_console:I")

Maximus

Posted 2014-04-01T14:16:42.910

Reputation: 19 395

It works now, thanks! There was also another mistake that I made, I was trying to assign key to Ctrl+T that is already taken. – ironsand – 2014-04-01T15:41:52.343