Hi,
In the Windows XP register at the Hkey_current_user \ Control Panel \ Desktop \ Windowmetrics key
We see this:
(by default) REG_SZ (not defined value)
Applyddpi REG_DWORD 60
Borderwidth REG_SZ -45
CaptionFont REG_BINARY F3 FF FF FF 00 00 00 00 00 00 00 00 00 00 00 00 BC 02 00 00 ...
I would only like to be able to copy the binary data of the CaptionFont line and then add it to the Windows 10 register.
Is it possible to do it? If so, could you explain to me in detail how to do it?
Thank you in advance for your answer.
How to copy binary data from the Windows register.
Re: How to copy binary data from the Windows register.
One method...
From Windows Registry
Export HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics to a .reg file
The .reg file will have comma separated values
& will have "continuation" marks (\)
Edit the .reg file
remove the "hex:" moniker
combining multiple (continuation) lines into 1
removing all commas & continuation marks
s/,//g
s/\\ //g
You can use the REG.EXE command (command-line tool) to export the key.
(BTW, it is not "binary data", but "hex" [codes], which you can then paste into something like HxD
.)
From Windows Registry
Export HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics to a .reg file
The .reg file will have comma separated values
& will have "continuation" marks (\)
Edit the .reg file
remove the "hex:" moniker
combining multiple (continuation) lines into 1
removing all commas & continuation marks
Code: Select all
REGEDIT4
[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]
"BorderWidth"="-15"
"CaptionFont"=hex:f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,00,\
00,00,00,01,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
Code: Select all
f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,00,\
00,00,00,01,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
Code: Select all
f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,00,\ 00,00,00,01,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
s/\\ //g
Code: Select all
f5ffffff000000000000000000000000bc02000000000001000000005400610068006f006d00610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
You can use the REG.EXE command (command-line tool) to export the key.
Code: Select all
reg.exe export "HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics" out.reg
(BTW, it is not "binary data", but "hex" [codes], which you can then paste into something like HxD