TC 9: 'numeric parameter for commands'; allow ? parameter

Here you can propose new features, make suggestions etc.

Moderators: Stefan2, white, sheep, Hacker

User avatar
MVV
Power Member
Power Member
Posts: 8142
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV » 2016-06-23, 20:53 UTC

Will you also add support for other parametrized commands?

User avatar
nsp
Power Member
Power Member
Posts: 1192
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp » 2016-06-24, 06:01 UTC

MVV wrote:Will you also add support for other parametrized commands?
2Ghilser (Author) Could it be possible to have the "string" passed to the copydata buffer parsed and then executed exactly as if it was entered in the command line ?
The best would be to have the same function used in separated thread not using any UI element as input.

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36544
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2016-06-27, 13:43 UTC

Sorry but that would be a security risk - that's why I only want to allow cm_ and em_ commands.
Author of Total Commander
http://www.ghisler.com

User avatar
MVV
Power Member
Power Member
Posts: 8142
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV » 2016-06-27, 15:52 UTC

ghisler(Author),
Please add at least commands with parameters (LOADSEARCH etc.), there is no risk in supporting them.

BTW there is no problem for a hacker to write a EM-command to usercmd.ini and then execute it so security risks are the same.

User avatar
LonerD
Senior Member
Senior Member
Posts: 292
Joined: 2010-06-19, 20:18 UTC
Location: Donetsk

Post by *LonerD » 2016-07-10, 16:28 UTC

Support. At least standard TC commands (like openbar, loadsearch..) will be useful.
Total Commander DreamLair - dream always, think totally, be the commander of you own life.

User avatar
LonerD
Senior Member
Senior Member
Posts: 292
Joined: 2010-06-19, 20:18 UTC
Location: Donetsk

Re: TC 9: 'numeric parameter for commands'; allow ? parameter

Post by *LonerD » 2018-10-02, 14:31 UTC

Any news?
Maybe new commands like
cm_OpenBar parameter
cm_LoadSearch parameter
?
Total Commander DreamLair - dream always, think totally, be the commander of you own life.

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3134
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: TC 9: 'numeric parameter for commands'; allow ? parameter

Post by *Horst.Epp » 2018-10-02, 15:24 UTC

LonerD wrote:
2018-10-02, 14:31 UTC
Any news?
Maybe new commands like
cm_OpenBar parameter
cm_LoadSearch parameter
?
OpenBar and LoadSearch already exist since a long time.
Windows 10 Home x64 October 2018 Update
Version 1809 (OS Build 17763.134)
TC 9.21a x64 and x86, Everything 1.4.1.921 (x64)

User avatar
MVV
Power Member
Power Member
Posts: 8142
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: TC 9: 'numeric parameter for commands'; allow ? parameter

Post by *MVV » 2018-10-03, 05:21 UTC

Horst.Epp,
I think he means an internal command with parameter that could be called via WM_COPYDATA. Currently it is only possible via special EM-command (so can't be used on unprepared TC):

Code: Select all

[em_LoadSearch]
cmd=LOADSEARCH
param=%A

Code: Select all

TCFS2 /ef "tem(`em_LoadSearch Size < 1 MB`)"

Post Reply