cm_ListInternalOnly started with parameter inconsistency

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

Moderators: white, Hacker, petermad, Stefan2

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

cm_ListInternalOnly started with parameter inconsistency

Post by *DrShark »

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.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: cm_ListInternalOnly started with parameter inconsistency

Post by *ghisler(Author) »

I will check it, thanks.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: cm_ListInternalOnly started with parameter inconsistency

Post by *DrShark »

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.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Post Reply