The continuation of this thread.
1. Press Ctrl+E: the cursor moves to the hidden command line and becomes invisible. If you have a menu item or a button on the buttonbar with the command cm_FocusCmdLine, it becomes "selected".
2. Type e.g. cmd (you have to do it blindly, but the autocomplete drop-down list is shown!), press Enter.
3. cmd.exe is started.
Of course, if you call cm_NextCommand or cm_PrevCommand from the menu the result is the same as above: you access the command line, though invisibly.
Command line access with RestrictInterface=2 [2]
Moderators: Hacker, petermad, Stefan2, white
Command line access with RestrictInterface=2 [2]
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 49232
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks, I will just intercept the calls to ExecuteCommandLine, this way it will be impossible to start it even if the user somehow manages to place any commands into it.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Fixed in pb4.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64