03-14-2024, 06:31 PM
(This post was last modified: 03-14-2024, 06:32 PM by TerryRitchie.)
(03-14-2024, 06:03 PM)SpriggsySpriggs Wrote: @TerryRitchieThat made the text file, but it looks the same as before (see below).
Try using this as an alternative:
Code: (Select All)Option Explicit
$Console:Only 'comment out if necessary
$NoPrefix
Shell "PowerShell -NoProfile Get-ItemProperty '" + Chr$(34) + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" + Chr$(34) + "' | Out-File -Encoding Ascii " + Chr$(34) + "temp_fontlist.txt" + Chr$(34)
If FileExists("temp_fontlist.txt") Then Print ReadFile$("temp_fontlist.txt")
I also had to comment the second line. V3.12.0 sees it as a syntax error.