Инструменты пользователя

Инструменты сайта


en:documentation:commandexec

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слеваПредыдущая версия
Следующая версия
Предыдущая версия
Следующая версияСледующая версия справа и слева
en:documentation:commandexec [2013/02/04 15:58] loopbacken:documentation:commandexec [2013/08/27 13:42] loopback
Строка 2: Строка 2:
  
 <code> <code>
-CommandExec [/CD[:T|S|TS]] <command/path1> [<path2>]+CommandExec [/CD[:{T|S|TS}]] <command/path1> [<path2>]
 </code> </code>
  
Строка 16: Строка 16:
 |**[/CD]**|Setting this switch allow to set paths in the Total Commander panels. First and optional second parameters - paths for setting in panels. After parameter can be optional flags how to set paths:\\ **T** - open in new tab,\\ **S** - make first path as source, second as target, else left and right panels  accordingly,\\ **ST** - combination of parameters.| |**[/CD]**|Setting this switch allow to set paths in the Total Commander panels. First and optional second parameters - paths for setting in panels. After parameter can be optional flags how to set paths:\\ **T** - open in new tab,\\ **S** - make first path as source, second as target, else left and right panels  accordingly,\\ **ST** - combination of parameters.|
  
 +**Examples**
 +<code>
 +# opens the configuration dialog
 +CommandExec cm_Config
 +
 +# execute the user command "em_UserCommand1"
 +CommandExec em_UserCommand1
 +
 +# opens "C:\Windows" path in the left panel
 +CommandExec /CD "C:\Windows"
 +
 +# opens "C:\Windows" path in the right panel (note first parameter is empty)
 +CommandExec /CD "" "C:\Windows"
 +
 +# opens "C:\Windows" path in new tab in the left panel
 +CommandExec /CD:T "C:\Windows"
 +
 +# opens "C:\Windows" path in the source panel, "D:\Test" in the target panel
 +CommandExec /CD:S "C:\Windows" "D:\Test"
 +
 +# opens "C:\Windows" path in the new tab of source panel, 
 +# "D:\Test" in the new tab of target panel
 +CommandExec /CD:ST "C:\Windows" "D:\Test"
 +</code>
  
en/documentation/commandexec.txt · Последнее изменение: 2020/04/05 14:41 — loopback

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki