Trying to make a new toolbar on Windows 10 that will display the hostname on the taskbar. How I manually make them is:
- Right-click taskbar
- Toolbars > New Toolbar. . .
- Folder: "\\%COMPUTERNAME%" (without quotes)
- "Select Folder" button
Unfortunately, that seems to put some limitations on the length of the hostname that will display on the toolbar. If it is longer than four characters, which was the length of the hostname that I copied the registry entry from, it won’t display the toolbar at all. I’m assuming that the toolbar width is being established somewhere else in that binary, but I am not good at decoding that and the several hours of Googling didn’t help much.
So, my questions are 1) Is there a better way to programmatically create toolbars in Windows 10? 2) How can I get the binary values from the registry, which PowerShell reads as bytes I think, to a human-readable format to make the changes and convert it back? 3) Happen to have any solid resources for learning to decode the binary/bytes stuff? I’ve never worked with it before — just the basics of binary when calculating network subnets.
Thanks in advance!