B
B
BlagoYar Silence2021-06-23 22:27:40
ConEmu
BlagoYar Silence, 2021-06-23 22:27:40

How to set ConEmu settings to launch with parameters?

There is such a line

"D:\Port knocking\knock\knock.exe" XXX.XXX.XXX.XXX 1111 & "D:\Port knocking\knock\knock.exe" XXX.XXX.XXX.XXX 2222 & "D:\Port knocking\knock\knock.exe" XXX.XXX.XXX.XXX 3333 & D:\Soft\System\ConEmu\ConEmu64.exe "ssh [email protected] -p 5786 -i 'D:\SSH_Keys\private_key-openssh_new'" -cur_console:n:P:"root":d:"D:\Port knocking\knock\":t:"ROOT"

and when running from bat everything works fine.

But how to make it so that all this can be done through cmd (of course, so that all this happens in ConEmu)?
In general, I want to do this for a button in Total Commander, but the length of the command does not fit either in the "Run" or in the field for the TC command

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2021-06-27
@dimonchik2013

run from conemu bat))
well, in general, you can copy it into a horse, what's the problem?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question