ZTree.com  | ZEN  | About...  

 Index   Back

Improved - F9 to switch back and forth between Win10 and legacy default.   [Help!]

By: Laurent Duchastel     Montréal, Québec  
Date: Apr 09,2018 at 15:14
In Response to: [Help!] How do avoid this ? SOLVED! Thank you! (Laurent Duchastel)

** THE FOLLOWING APPLY ONLY TO WIN10 CLEANED-INSTALLED FROM BUILD ABOVE 16257 **

Win10 is a decent OS, but recently introduced some cosmetic changes with console mode which I don't like :

- New color scheme, much lighter
- Console text wrapping, which is annoying with ZTreen (see first post of this thread)

[image]
[image]

and when Legacy mode is enabled to avoid console text wrapping, the new font by default is ugly
- 5x12 Raster

[image]

I want:

- Traditional color scheme
- Legacy mode
- Consolas font

[image]
[image]

Because I use ZTree on various system, it annoys me to have to manually change Properties shortcut each time.

The following are two F9 scripts which allows to very easily switch back and forth between the new default and my preferred settings


::ColorTools (Campbell, new Win10 default)
echo off
:: Disable Legacy mode on every console (= text wrapping, Win10 default)
reg add HKCU\Console /v ForceV2 /t REG_DWORD /d 1 /f
:: Change to Win10 default font
reg add HKCU\Console /v FaceName /t REG_SZ /d "__DefaultTTFont__" /f
:: Change default console color scheme to "campbell" (new Win10 default)
:: Requires: Colortool.exe
:: https://blogs.msdn.microsoft.com/command...ducing-the-windows-console-colortool/
#ZTTools\Colortools\colortool.exe -d campbell
echo Please quit ZTreewin and restart
pause


And

::ColorTools (Legacy, pre-Win10 default)
echo off
:: Enable Legacy mode on every console (no text wrapping, pre-Win10 default)
reg add HKCU\Console /v ForceV2 /t REG_DWORD /d 0 /f
:: Change to Consolas font, which is new Win10 default, but not legacy default
reg add HKCU\Console /v FaceName /t REG_SZ /d "Consolas" /f
:: Change default console color scheme to "cmd-leagcy" (pre-Win10 default)
:: Requires: Colortool.exe
:: https://blogs.msdn.microsoft.com/command...ducing-the-windows-console-colortool/
#ZTTools\Colortools\colortool.exe -d cmd-legacy
echo Please quit ZTreewin and restart
pause


Laurent Duchastel

754 views      
Thread locked
 

Messages in this Thread

 
94,426 Postings in 11,918 Threads, 348 registered users, 9 users online (0 registered, 9 guests)
Index | Admin contact |   Forum Time: Sep 18, 2019 - 12:52 am EDT  |  Hits:28,647,370  (117 Today )
RSS Feed