Hello community
Is there a way to set TCMD, so it has different background color in the file panels view when running as administrator, as opposed to when running as limited user.
On Windows 7, you can select to run an application as administrator, via the context menu in the start menu. Occasionally I need this, but then forget to stop Tcmd, but keep it running for a longer time.
So therefore my question.
Dynamic background color
Moderators: Hacker, petermad, Stefan2, white
-
- Senior Member
- Posts: 276
- Joined: 2011-11-15, 06:14 UTC
- Location: DE\BN - only part time TC user after switching to Linux ;)
Yes. You can achieve this by
1. open wincmd.ini
In the section [colors] place
2. Create normal user file
wincmd_colors_%sessionname%.ini
and place the following text
3. Create file for Administrator
Restart TC.
Works great for me
Optionally you can put a "TC As Administrator button in your Buttonbar if you dont already have it
copy + paste the following onto your Button bar
1. open wincmd.ini
In the section [colors] place
Code: Select all
[Colors]
RedirectSection=%COMMANDER_PATH%\wincmd_colors_%SESSIONNAME%.INI
wincmd_colors_%sessionname%.ini
and place the following text
Code: Select all
[colors]
InverseCursor=0
InverseSelection=1
BackColor=10198015
BackColor2=6974207
ForeColor=-1
MarkColor=-1
CursorColor=-1
CursorText=-1
ActiveTitleText=0
ActiveTitle=39168
3. Create file for Administrator
Code: Select all
[colors]
ActiveTitle=1420317
InactiveTitleText=5525059
InverseCursor=0
InverseSelection=1
BackColor=-1
BackColor2=-1
ForeColor=-1
MarkColor=-1
CursorColor=255
CursorText=16777215
Works great for me

Optionally you can put a "TC As Administrator button in your Buttonbar if you dont already have it

copy + paste the following onto your Button bar
Code: Select all
TOTALCMD#BAR#DATA
*%COMMANDER_EXE%
%Z/N %X"%P" "%T"
%COMMANDER_PATH%\TCMDX64.EXE
Start TotalCommander as ADMIN with current DIRs
0
-1