bashaliastotal-commandercmder

Open current directory in TotalCommander from CMDER (creating alias)


I want to create an alias for the CMDER command line which would open my TotalCommander in the current directory. This would be the equivalent for explorer . command.

My alias now looks like this:

open. = "C:\...\Totalcmd.exe /O /R=".

But it just opens TotalCommander int he default directory.

Maybe someone uses such alias and knows how to do that?


Solution

  • I've got this working.

    Try setting your alias as follows:

    tc.=d:\...\TOTALCMD64.EXE /O /R="%CD%"
    

    Be careful though, you have to insert it manually into the aliases file. If you do this from command line it will evaluate %CD% (current directory) at the moment of setting the alias.