Tc32/Tc64 Configuration: "RedirectSection" and "PROCESSOR ARCHITECTURE": Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


If now - as an example - some color elements within the two versions (for better differentiation) should be differented to different colors (to faster and better distinguish between TCx32 and TCx64), it is possible to do the  
If now - as an example - some color elements within the two versions (for better differentiation) should be differented to different colors (to faster and better distinguish between TCx32 and TCx64), it is possible to do the  
different configuration for 32bit and 64bit with the option of Tc to redirect parts of the wincmd.ini to ohther files with the option = RedirectSection.
different configuration for 32bit and 64bit with the TCs capability to redirect parts of the wincmd.ini to other files with the option: RedirectSection=.


<!--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).-->
As it is possible to use environment variables within the RedirectSection= , this is the an easy way to separate  configuration parts for TC and TCx64 to different files. <!--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).-->


<!--Sollen nun, als ein Beispiel, einige Farbelemente bei den beiden Versionen zur besseren Unterscheidung anders farbig dargestellt werden, um im laufenden Betrieb schneller und besser zwischen TCx32 und TCx64 unterscheiden zu können, dann kann man für 32bit und 64bit unterschiedliche Konfigurationsteile dadurch herstellen, dass man sich der Möglichkeit des Tc bedient, Sektionen innerhalb der wincmd.ini mit der Option RedirectSection= in andere Dateien auszulagern.
<!--Denn es gibt eine Umgebungsvariable in 64bit Windows-Systemen, die je nach aufrufendem Prozess für 32bit und für 64bit einen unterschiedlichen Inhalt hat (Der Set-Befehl des Kommandoprozessors zeigt den Unterschied am Command-Prompt).-->


Da bei RedirectSection= Umgebungsvariablen benutzt werden dürfen, ist es nun ein Leichtes, Teile der Konfiguration für TC und TCx64 in unterschiedlichen Dateien abzulegen und damit unterschiedlich zu halten. Denn es gibt eine Umgebungsvariable in 64bit Windows-Systemen, die je nach aufrufendem Prozess für 32bit und für 64bit einen unterschiedlichen Inhalt hat (Der Set-Befehl des Kommandoprozessors zeigt den Unterschied am Command-Prompt).-->
<!--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).-->
 
<!--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 be produced for 32bit and 64bit various configuration components in that 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'''<br />
64bit: PROCESSOR_ARCHITECTURE='''AMD64'''<br />

Revision as of 11:44, 14 May 2012

It is provided, and also useful, to install both versions - TC and TCx64 - in one directory. As of that, of course, also the configurations files (and notably also the wincmd.ini) are used by both versions simultaneously. This is so willed and desired, and therefore the best way to handle it.

If now - as an example - some color elements within the two versions (for better differentiation) should be differented to different colors (to faster and better distinguish between TCx32 and TCx64), it is possible to do the different configuration for 32bit and 64bit with the TCs capability to redirect parts of the wincmd.ini to other files with the option: RedirectSection=.

As it is possible to use environment variables within the RedirectSection= , this is the an easy way to separate configuration parts for TC and TCx64 to different files.


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


<- Configuration

Back to Main Page