admin
Immortal
Immortal

Example: %ProgramFilesDir~0023 instead of %ProgramFilesDir%

That's not a bug, it's a feature :-). It's an indication that the original registry entry stored a short path name. We store it as a long path name in the virtual registry, with this ~00xx notation. When the app queries the registry value, we'll return it in short path format again. The 00xx (0023 in your example) indicates the (hex) number of characters following the macro that need to be returned as short path.

Example: original value was

C:\PROGRA1\LONGPA1\Long File.txt

gets converted to

%ProgramFilesDir~000a\Long Path\Long File.txt

when stored in the registry.

Reply
0 Kudos