How to close all tabs on the left or right of the current tab like a browser?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
ruizrzr1
Junior Member
Junior Member
Posts: 37
Joined: 2022-07-06, 06:39 UTC

How to close all tabs on the left or right of the current tab like a browser?

Post by *ruizrzr1 »

:D
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: How to close all tabs on the left or right of the current tab like a browser?

Post by *Fla$her »

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! 👎
ruizrzr1
Junior Member
Junior Member
Posts: 37
Joined: 2022-07-06, 06:39 UTC

Re: How to close all tabs on the left or right of the current tab like a browser?

Post by *ruizrzr1 »

Fla$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
Thanks,helped
Post Reply