Page 1 of 1

add reg key with new XY64

Posted: 09 Oct 2025 09:46
by swan_x
i have file association from Tools to add .reg to registry
but the command is for xy 32bit and not does not work for new 64bit version
here command: *.reg>::run """%windir%\sysnative\cmd.exe"" /c regedit.exe /s ""<pfaitem>""", , 2, 0;msg "key added";

tried to del sysnative but failed. how to edit this command to work on xy 64bit ?

Re: add reg key with new XY64

Posted: 09 Oct 2025 12:37
by swan_x
solved
*.reg>::run """%windir%\system32\cmd.exe"" /c regedit.exe /s ""<pfaitem>""", , 2, 0;msg "key added";

Re: add reg key with new XY64

Posted: 09 Oct 2025 15:48
by admin
Tip: There is %ComSpec% which you can use in the 64-bit version instead of %windir%\system32\cmd.exe.