Configurable command shell

We welcome any suggestions for new features or improvements in Altap Salamander. Please post one suggestion per report.
Jan Rysavy
Posts: 5127
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic

Re: Configurable command shell

Post by Jan Rysavy » 04 Dec 2015, 20:16

What about this. One edit line in AS configuration with drop-down button and menu containing variables (see for example User Menu or Renamer).

Default setup:
$[COMSPEC] $(Close:/C) $(Keep:/K) $(Params)

ConEmu setup:
"C:\Program Files\ConEmu\ConEmu.exe" /cmd $[COMSPEC] $(Close:/C) $(Keep:/K) $(Params)

$(Close:...), $(Keep:...), and $(Params) would be used only when needed.
Each variable could be used multiple times - once $(Close:...) for ConEmu, once $(Close:/C) for CMD, etc.

We can define another usage dependent variables, for example:
$(CmdLine:...) - for Command Line
$(UserMenu:...) - for User Menu
$(CmdShell:...) - for Command Shell

Would it be enough for invoking PowerShell?

EDIT: bad idea, too complicated.

Post Reply