-
Type REGEDIT in start menu search box or run and press Enter.
-
Navigate to the following registry key:
HKEY\CLASSES\ROOT\regfile\shell\open\command
-
Double-click on (Default).
-
Type regedit.exe /s "%1" in the Value Data text box.
To undo it, just type regedit.exe "%1" instead in Step 4.