
How to close all tabs on the left or right of the current tab like a browser?
Moderators: Hacker, petermad, Stefan2, white
Re: How to close all tabs on the left or right of the current tab like a browser?
TCFS2 + TCFS2Tools:
Code: Select all
TOTALCMD#BAR#DATA
%COMMANDER_PATH%\Utils\TCFS2.exe
/ef varset(1,msg(1074,1000)) varset(2,tcm(65579+varget(1))) tcm(5001) if(varget(2),loop(@+1<varget(2)+if(tcm(65585+varget(1)),tcm(3010))*tcm(3007)))
wcmicons.dll,85
Close all tabs to the left of the active
Code: Select all
TOTALCMD#BAR#DATA
%COMMANDER_PATH%\Utils\TCFS2.exe
/ef varset(1,msg(1074,1000)) varset(2,tcm(65581+varget(1))-tcm(65579+varget(1))) if(varget(2)>1,tcm(3005)+loop(2+@<varget(2)+if(tcm(65585+varget(1)),tcm(3010))*tcm(3007)))
wcmicons.dll,84
Close all tabs to the right of the active
Overquoting is evil! 👎
Re: How to close all tabs on the left or right of the current tab like a browser?
Thanks,helpedFla$her wrote: 2022-10-06, 16:10 UTC TCFS2 + TCFS2Tools:Code: Select all
TOTALCMD#BAR#DATA %COMMANDER_PATH%\Utils\TCFS2.exe /ef varset(1,msg(1074,1000)) varset(2,tcm(65579+varget(1))) tcm(5001) if(varget(2),loop(@+1<varget(2)+if(tcm(65585+varget(1)),tcm(3010))*tcm(3007))) wcmicons.dll,85 Close all tabs to the left of the active
Code: Select all
TOTALCMD#BAR#DATA %COMMANDER_PATH%\Utils\TCFS2.exe /ef varset(1,msg(1074,1000)) varset(2,tcm(65581+varget(1))-tcm(65579+varget(1))) if(varget(2)>1,tcm(3005)+loop(2+@<varget(2)+if(tcm(65585+varget(1)),tcm(3010))*tcm(3007))) wcmicons.dll,84 Close all tabs to the right of the active