Restart TC with temporary save of tabs

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Restart TC with temporary save of tabs

Post by *sqa_wizard »

I like the new restart command "cm_Exit 1", but usually I want to see the same tabs after the restart again.
Well, saving the current tabs by "cm_Exit 5" would destroy my default startup settings.

Currently I use 3 buttons for this purpose:

1. SAVETABS2L "%COMMANDER_PATH%\TABS\temp.tab
2. cm_Exit 1
3. OPENTABS %COMMANDER_PATH%\TABS\temp.tab

Now I want to save one step by combining 1. and 2. like:

Code: Select all

SAVETABS2L "%COMMANDER_PATH%\TABS\temp.tab",cm_Exit 1
But this just creates a tab file "temp.tab,cm_Exit 1" ignoring the doublequotes :(

Is there any other notation required?

Using TC 10.52RC2
#5767 Personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Restart TC with temporary save of tabs

Post by *ghisler(Author) »

You need to put the SAVETABS2L in an em_savetabs command and then call
em_savetabs,cm_Exit 1
Author of Total Commander
https://www.ghisler.com
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Re: Restart TC with temporary save of tabs

Post by *sqa_wizard »

:idea: Thanks, works fine this way :)
#5767 Personal license
Post Reply