Code: Select all
; internal CD can have param like "c:"
CD c:\
; while usercmd can't
; [em_cd]
; cmd=cd
; param=%A
em_cd c:\
;prompt "File not found. \n em_cd c:\"
Code: Select all
tcfs2 /ef "tem(`em_cd c:\`)"
Moderators: white, Hacker, petermad, Stefan2
Code: Select all
; internal CD can have param like "c:"
CD c:\
; while usercmd can't
; [em_cd]
; cmd=cd
; param=%A
em_cd c:\
;prompt "File not found. \n em_cd c:\"
Code: Select all
tcfs2 /ef "tem(`em_cd c:\`)"
What do you mean outside? TC's own button and directory menu command is outside?ghisler(Author) wrote: ↑2019-11-01, 15:36 UTC User commands with parameters are NOT supported when coming from outside of TC, for security reasons.
Neither do I.I don't see the logic
pipe can be a parameter for some command too, I think a solution to solve it for long is multi-commnad input box for mulit-commnad,
Multicommands are not just used in Buttons, they are for exampel also allowed in View Modes as autorun commands, wgere there is no space for such an elaborate approach.I think a solution to solve it for long is multi-commnad input box for mulit-commnad,
it can be a button at the current command input "add sequence command", then you can input the second line command for the 2nd command, and one more click will add 3rd commnad, and so on.
Or a check-box for "multi-command", when it's checked, the commandline input can be expand as a mulit-line textbox which can seperate different commands by different line.
Code: Select all
[em_cdDWG]
cmd=cd
param=*.*|*.bak *.dwl *.dwl2
Code: Select all
[em_cd]
cmd=cd
param=%A