add reg key with new XY64

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
swan_x
Posts: 335
Joined: 08 Oct 2009 12:27

add reg key with new XY64

Post 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 ?

swan_x
Posts: 335
Joined: 08 Oct 2009 12:27

Re: add reg key with new XY64

Post by swan_x »

solved
*.reg>::run """%windir%\system32\cmd.exe"" /c regedit.exe /s ""<pfaitem>""", , 2, 0;msg "key added";

admin
Site Admin
Posts: 64916
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: add reg key with new XY64

Post by admin »

Tip: There is %ComSpec% which you can use in the 64-bit version instead of %windir%\system32\cmd.exe.

Post Reply