Tc32/Tc64 Configuration: "RedirectSection" and "PROCESSOR ARCHITECTURE"

From TotalcmdWiki
Revision as of 10:44, 14 May 2012 by JOUBE (talk | contribs) (Created page with "It is provided, and also useful to both versions - to install in a directory - TC and TCx64. As a result, of course, are also Konfigurationsdateinen (and notably in the wincmd...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

It is provided, and also useful to both versions - to install in a directory - TC and TCx64. As a result, of course, are also Konfigurationsdateinen (and notably in the wincmd.ini) used by both versions simultaneously. It is so willed and desired, and therefore no problem.

If now, as an example, some color elements in the two versions for better differentiation are different in a different color to the fly faster and better distinguish between TCx32 and TCx64 can, then you can steep produced for 32bit and 64bit different configuration from the fact that you look at the possibility of Tc served to outsource sections within the wincmd.ini with the option = RedirectSection in other files.

As may be used at RedirectSection = environment variable, it is now easy to parts of the configuration for TC and TCx64 store in different files, thus keeping different. For there is an environment variable in Windows 64 bit systems, which depending on the calling process for 32bit and 64bit for a different content (the set of the command processor command shows the difference in the Command Prompt).


64bit: PROCESSOR_ARCHITECTURE=AMD64
32bit: PROCESSOR_ARCHITECTURE=x86

For the aforementioned example, see summarized the following:

Datei wincmd.ini (Auszug):
...
[Colors]
RedirectSection=%COMMANDER_INI%-%PROCESSOR_ARCHITECTURE%
...

File wincmd.ini-x86:
[Colors]
InverseCursor=0
InverseSelection=0
BackColor=14803425
BackColor2=-1
ForeColor=-1
MarkColor=-1
CursorColor=-1
CursorText=-1

File wincmd.ini-amd64:
[Colors]
InverseCursor=0
InverseSelection=0
BackColor=16777215
BackColor2=-1
ForeColor=-1
MarkColor=-1
CursorColor=-1
CursorText=-1

Template:Rückverweis Template:ENHauptseite