简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM