when I’m trying to post code like

and put above code inside ``` , it is shown as:
REGEDIT4
[HKEY_CURRENT_USER\Software\AAA]
"DDD"="D:\\folder1\\10\\bin\\myprog.exe"
i.e. \1 is replaced with ```
the same with <pre> tag:
REGEDIT4 [HKEY_CURRENT_USER\Software\AAA] "DDD"="D:\\folder1\\10\\bin\\myprog.exe"
blockquote also works incorrectly:
REGEDIT4
[HKEY_CURRENT_USER\Software\AAA]
“DDD”=“D:\folder1\10\bin\myprog.exe”
it this case, it replaces \\1 with ```
Q: how I can post above code as codefragment correctly?