cm_ListInternalOnly started with parameter inconsistency

Bug reports will be moved here when the described bug has been fixed

Moderators: sheep, Hacker, Stefan2, white

Post Reply
User avatar
DrShark
Power Member
Power Member
Posts: 1400
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

cm_ListInternalOnly started with parameter inconsistency

Post by *DrShark » 2019-11-28, 10:59 UTC

cm_ListInternalOnly description in Command Browser wrote:cm_ListInternalOnly 1006 Lister without plugins/multimedia, single file
I tried to pass a file path to cm_ListInternalOnly as a parameter, expecting this will work because similar command cm_List such path as a parameter if it is placed "directly behind CM_LIST, and not in the parameters field", as Help writes.

Results are inconsistent and in both cases unexpected:
1. The command executed from Total Commander's command line:
cm_ListInternalOnly %COMMANDER_PATH%\HISTORY.TXT

launches Lister with HISTORY.TXT opened, but Lister uses plugins.

2. The command executed from a button:

Code: Select all

TOTALCMD#BAR#DATA
cm_ListInternalOnly %COMMANDER_PATH%\HISTORY.TXT

%commander_exe%,24
HISTORY


-1
launches Lister with file under cursor in active panel opened, and plugins aren't used. The file passed as parameter in Command: field of the button is ignored.

Expected behavior: in both cases Lister should open internally (without plugins) a file path of which is passed after cm_ListInternalOnly command.
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

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

Re: cm_ListInternalOnly started with parameter inconsistency

Post by *ghisler(Author) » 2019-11-28, 11:25 UTC

I will check it, thanks.
Author of Total Commander
http://www.ghisler.com

User avatar
DrShark
Power Member
Power Member
Posts: 1400
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Re: cm_ListInternalOnly started with parameter inconsistency

Post by *DrShark » 2019-12-04, 21:27 UTC

history950.txt wrote:04.12.19 Fixed: CM_LISTINTERNALONLY and CM_LIST didn't accept path in double quotes (32/64)
[...]
29.11.19 Added: Command line parameter support for command CM_LISTINTERNALONLY in button bar and command line (32/64)
I can confirm in TC 9.50 beta 8 CM_LISTINTERNALONLY opens from command line or button a file passed as a parameter, even quoted, without loading plugins, so it works as expected now.
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

Post Reply