I'm wondering which would be the best way to be able to close all tabs with one click such as a custom button, which will close both panels including locked ones and without any confirmations.
I know there is already a build in command of "Close All Tabs", but it only does the selected panel.
I thought of a batch file to modify ini files, and then a restart but I think surely there's a easier way.
Close All Tabs, one click, both panels including locked ones
Moderators: white, Hacker, petermad, Stefan2
-
- Junior Member
- Posts: 53
- Joined: 2015-04-07, 10:02 UTC
you can use OPENTABS to open a saved tab file
my closeall.tab
Code: Select all
cmd=OPENTABS "%COMMANDER_PATH%\Tabs\closeall.tab"
Code: Select all
[activetabs]
0_path=C:\
0_options=1|0|0|0|0|0|0
activetab=0
[inactivetabs]
0_path=C:\
0_options=1|0|0|0|0|0|0
activetab=0
# 251045
Total Commander 10.5 64bit
Total Commander 10.5 64bit
-
- Junior Member
- Posts: 53
- Joined: 2015-04-07, 10:02 UTC
Ahh! I Didn't think, just make a new button up with OPENTABS, set up two single common visited folders in both panels, and saved it as a tab.
That is so much better than the CLOSEALLTABS command, fixed in less than a minute!
EDIT: I've been spending weeks with batch files and autohotkey scripts opening up multiple tabs for whatever project im undertaking
which repeated lines of TOTALCMD64.EXE /O /T /R=(DIRECTORY)'s
Obviously bad scripting, I wonder if you can just open a saved .tab file from a single entry in a batch or from the command prompt.
That is so much better than the CLOSEALLTABS command, fixed in less than a minute!
EDIT: I've been spending weeks with batch files and autohotkey scripts opening up multiple tabs for whatever project im undertaking
which repeated lines of TOTALCMD64.EXE /O /T /R=(DIRECTORY)'s
Obviously bad scripting, I wonder if you can just open a saved .tab file from a single entry in a batch or from the command prompt.
May I suggest to change the closeall.tab file to:
Then the currently displayed folders will also be the ones that are displayed after the tabs are closed.
Code: Select all
[activetabs]
0_path=.
0_options=1|0|0|0|0|0|0
activetab=0
[inactivetabs]
0_path=.
0_options=1|0|0|0|0|0|0
activetab=0
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar