FS-plugins and commands in command line

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

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

FS-plugins and commands in command line

Post by *DrShark »

When Total Commander panel path is some of FS-plugin (like \\\Cloud\),
in command line TC can't execute commands like c:\, or cd <something>, or cm_<something> (I'll call them "general commands" in the following text), although they are supported in buttons or when panel with real filesystem path. I guess it's because WFX plugins can execute their own commands in command line.

This situation is quite annoying, so I have a question: can TC detect if certain WFX plugin supports its own commands, and can it detect that when user enters FS-plugin path? If yes, I have two suggestions:
1. When user goes to FS-plugin path, detect if plugin doesn't have it's own commands support and then enable Total Commander handling of general commands in command line.
2. Although TC doesn't execute general commands in command line inside FS-plugins, the command line still offers a command line's command history (called by Ctrl+Down in command line). When TC will detect whether plugin has its own commands support (see §1), I suggest to use plugin-specific commands history for each of such FS-plugins. For other FS-plugins, TC should offer general commands history, or maybe the history should be disabled there if suggestion from §1 will not be implemented.

Alternative/complementary suggestions are welcome here.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
Dalai
Power Member
Power Member
Posts: 10023
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: FS-plugins and commands in command line

Post by *Dalai »

DrShark wrote:I guess it's because WFX plugins can execute their own commands in command line.
Correct.
This situation is quite annoying
Indeed it is, especially when the current directory is some WFX plugin and you want to switch to a UNC path...
so I have a question: can TC detect if certain WFX plugin supports its own commands, and can it detect that when user enters FS-plugin path?
No, it can't. When FsExecuteFile is implemented/exported by the WFX plugin, TC sends all commands to the plugin.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Post Reply