Hi
i have total commander installed and the same version portable for my usb stick
is there a way to save different preferences and switch between them?
for example icon size , font size and so on
thanks
can i save and switch between several preferences?
Moderators: Hacker, petermad, Stefan2, white
can i save and switch between several preferences?
love Total Commander , best file manager ever made
- sqa_wizard
- Power Member
- Posts: 3896
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
hisqa_wizard wrote:To be more specific: Use different ini files with names you like and start TC with the needed one.
You may set read-only flag to inhibit modifications.
yes have different ini files , and select which preference load
could be done?
love Total Commander , best file manager ever made
Example LaunchTC.cmd batch choose different INI file
giulia wrote:yes have different ini files , and select which preference load
could be done?
Not on default, only with work around, e.g.
- add some button to TC to start another TC with another INI
or
- start TC via a DOS batch, where you can provide
a list to choose which config to launch, like:
[face=timesnewroman]Choose TC Config
Press A - launch with Work.ini
Press B - launch with Alternative.ini
Press C - launch with temp.ini[/face]
- - -
Example LaunchTC.cmd
Code: Select all
@ECHO OFF
REM Put this _LaunchTC.cmd in your TC folder and use this to launch TC.
REM Stefan, 2015-06-19, v0.001
CD %~dp0
REM =============================================================
REM GotoMenu=1 means: Keep the Menu open untill X is pressed.
REM GotoMenu=0 means: Close the Menu on succesfully launching TC.
SET GotoMenu=1
REM =============================================================
:MENU
REM = = = = = = = Prompt user with the menu:
CLS
ECHO Working Dir: %CD%
ECHO.
ECHO ...............................................
ECHO PRESS A, B OR C to select your task, or X to EXIT.
ECHO ...............................................
ECHO.
ECHO A - launch with wincmd.ini
ECHO B - launch with Alternative.ini
ECHO C - launch with temp.ini
ECHO X - EXIT
ECHO.
REM = = = = = = = Prompt user with request to pick an option:
ECHO.%wrong%
SET /P M=Type A, B, C, or X then press ENTER:
IF %M%==A GOTO SubA
IF %M%==B GOTO SubB
IF %M%==C GOTO SubC
IF %M%==X GOTO EOF
IF %M%==x GOTO EOF
SET wrong=Last input was wrong: %M%
GOTO MENU
REM = = = = = = = Settings for option A, if user pressed upper case "A"
:SubA
SET tcini=
Call :LaunchTools
start TOTALCMD.EXE
IF [%GotoMenu%]==[1] GOTO MENU
GOTO EOF
REM = = = = = = = Settings for option B
:SubB
SET tcini=C:\totalcmd\wincmd_work.ini
start TOTALCMD.EXE /I="%tcini%"
IF [%GotoMenu%]==[1] GOTO MENU
GOTO EOF
REM = = = = = = = Settings for option C
:SubC
SET tcini=%TEMP%\TC-temporare-Fresh.ini
start TOTALCMD.EXE /I="%tcini%"
IF [%GotoMenu%]==[1] GOTO MENU
GOTO EOF
REM = = = = = = = Settings for your option
:SubD
SET tcini=
start TOTALCMD.EXE /I="%tcini%"
IF [%GotoMenu%]==[1] GOTO MENU
GOTO EOF
REM =============================================================
:LaunchTools
REM SET MyFunnyVar=
REM start "" C:\Tools\abc.exe
REM other things here...
ECHO sub LaunchTools executed, return to caller. (only visible if CLS above is removed)
REM return to caller.
REM =============================================================
REM The End. The only end, my friend.
Re: Example LaunchTC.cmd batch choose different INI file
thanksStefan2 wrote:giulia wrote:yes have different ini files , and select which preference load
could be done?
Not on default, only with work around, e.g.
- add some button to TC to start another TC with another INI
or
- start TC via a DOS batch, where you can provide
a list to choose which config to launch, like:
[face=timesnewroman]Choose TC Config
Press A - launch with Work.ini
Press B - launch with Alternative.ini
Press C - launch with temp.ini[/face]
- - -
Example LaunchTC.cmd
would be cool a plugin to select several preferences
love Total Commander , best file manager ever made