https://git.reactos.org/?p=reactos.git;a=commitdiff;h=092c3710f2b7e94316eb6…
commit 092c3710f2b7e94316eb6459b4dc3a874219b24c
Author: Jared Smudde <computerwhiz02(a)hotmail.com>
AuthorDate: Tue Aug 7 06:22:03 2018 -0500
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Tue Aug 7 13:22:03 2018 +0200
[BOOTDATA] Change the default open command for HTA files to open in Wine Internet
Explorer. (#719)
It's a shortcut from implementing the function in mshtml but it works.
Also add an edit option to the right click menu.
---
boot/bootdata/hivecls.inf | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/boot/bootdata/hivecls.inf b/boot/bootdata/hivecls.inf
index 61d6f4f318..25b6a471ec 100644
--- a/boot/bootdata/hivecls.inf
+++ b/boot/bootdata/hivecls.inf
@@ -220,7 +220,9 @@
HKCR,"chm.file\shell\open\command","",0x00020000,"%SystemRoot%\hh.exe
%1"
HKCR,".hta","",0x00000000,"htafile"
HKCR,"htafile","",0x00000000,"HTML Application"
HKCR,"htafile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\mshta.exe,-1"
-HKCR,"htafile\shell\open\command","",0x00020000,"%SystemRoot%\system32\mshta.exe
""%1"" %*"
+;
HKCR,"htafile\shell\open\command","",0x00020000,"%SystemRoot%\system32\mshta.exe
""%1"" %*"
+HKCR,"htafile\shell\edit\command","",0x00020000,"%SystemRoot%\system32\notepad.exe
%1"
+HKCR,"htafile\shell\open\command","",0x00020000,"""%ProgramFiles%\Internet
Explorer\iexplore.exe"" %1"
; set MIME type for .html and .htm because Tiny webserver needs it
HKCR,".htm","",0x00000000,"htmlfile"