- Local time
- 5:42 PM
- Posts
- 147
- OS
- Windows 11 25H2 Pro Build 26200
Under Windows 10 the font face and size for the text preview were set from the last saved value from Windows Notepad. This has been changed in Windows 11 (23H2). It's now controlled by the values in:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Notepad\DefaultFonts
iPontSize is the point size multiplied by 10. Changing the value will be reflected in any preview pane by refreshing the view.
So, the default size is no longer under user control! When viewing any individual preview Control-ScrollWheel will change the text size, but revert for the next preview.
I know that vbScript is deprecated, but the preview feature has been removed from the file type, which seems premature whilst the feature is still installed. You can either reinstate it for the current user with the following reg file:
or simply set the PerceivedType of .vbs files as text. I do this for other file types I know are text when Windows doesn't. As well as providing a text preview you will get an Edit option in the context menu for any file type. As an example setting this for .cs files:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Notepad\DefaultFonts
iPontSize is the point size multiplied by 10. Changing the value will be reflected in any preview pane by refreshing the view.
So, the default size is no longer under user control! When viewing any individual preview Control-ScrollWheel will change the text size, but revert for the next preview.
I know that vbScript is deprecated, but the preview feature has been removed from the file type, which seems premature whilst the feature is still installed. You can either reinstate it for the current user with the following reg file:
Code:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Classes\vbsfile\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{1531d583-8375-4d3f-b5fb-d23bbd169f22}"
or simply set the PerceivedType of .vbs files as text. I do this for other file types I know are text when Windows doesn't. As well as providing a text preview you will get an Edit option in the context menu for any file type. As an example setting this for .cs files:
Code:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\.cs]
"PerceivedType"="text"
- Windows Build/Version
- Window 11 Pro 23H2
My Computers
System One System Two
-
- OS
- Windows 11 25H2 Pro Build 26200
- Computer type
- PC/Desktop
- Manufacturer/Model
- MSI PRO ADL-U Cubi 5 (MS-B0A8)
- CPU
- i3-1215U
- Memory
- 8GB
- Monitor(s) Displays
- Sony 43" 4k TV
- Screen Resolution
- 3840x2160
- Hard Drives
- 250GB NVMe M.2 PCIe Gen 3 SSD
- PSU
- External 65W
- Case
- Mini PC
- Browser
- FireFox
- Antivirus
- MS
-
- Operating System
- Windows 11 Pro 25H2
- Computer type
- PC/Desktop
- Manufacturer/Model
- Dell Optiplex 3070 SFF
- CPU
- Intel i3-9100
- Memory
- 16GB DDR4
- Monitor(s) Displays
- Dell S2721
- Screen Resolution
- 3840 x 2160
- Hard Drives
- Samsung 500GB nvMe
- Case
- Dell small form factor
- Keyboard
- Cherry mechanical (Blue)
- Mouse
- Microsoft
- Antivirus
- MS Defender




