How to close Tabs except the current one(source&destination)

I create a button and use "Go TABCLOSEALL" to Close all Folder Tabs except the current one(in current source pane) but If I want to Close all Folder Tabs except the current one in the destination panel and the current source pane, How do I do?

Use this:

dopusrt /cmd Go TABCLOSEALL dopusrt /cmd Set SOURCE=Toggle dopusrt /cmd Go TABCLOSEALL dopusrt /cmd Set SOURCE=Toggle

thanks