I would like to use a PowerShell or batch script to modify an existing expandable string value to another. Specifically, I want to change the default value at
"C:\Program Files\Adobe\Adobe Photoshop CC 2015.5\Photoshop.exe" "%1"
I can do this directly in the registry editor, but when I export it as a .reg file, I get a bunch of hex nonsense; obviously that's not very intuitive:
So if I were to use an alternative method instead, such as PowerShell or a batch script, I would hope that I could actually read the path in plain text when viewing the code (since I can't inside the .reg file).
Can this be done with a PowerShell or batch script in a way that keeps the filepath readable?