Generate a Jscript.reg file with the following content:
Windows Registry Editor Version 5.00
[Hkey_classes_root\.js]
@= "Jsfile"
[Hkey_classes_root\.js\persistenthandler]
@= "{5e941d80-bf96-11cd-b579-08002b30bfeb}"
[Hkey_classes_root\jsfile]
"Friendlytypename" =hex (2): 40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
32,00,5c,00,77,00,73,00,68,00,65,00,78,00,74,00,2e,00,64,00,6c,00,6c,00,2c,\
00,2d,00,34,00,38,00,30,00,34,00,00,00
[Hkey_classes_root\jsfile\scriptengine]
@= "JScript"
[Hkey_classes_root\jsfile\scripthostencode]
@= "{85131630-480c-11d2-b1f9-00c04f86c324}"
[Hkey_classes_root\jsfile\shell]
@= "Open"
[Hkey_classes_root\jsfile\shell\open\command]
@=hex (2): 25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,57,00,53,00,\
63,00,72,00,69,00,70,00,74,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,\
00,22,00,20,00,25,00,2a,00,00,00
[Hkey_classes_root\jsfile\shell\open2]
@=hex (2): 4f,00,70,00,65,00,6e,00,20,00,26,00,77,00,69,00,74,00,68,00,20,00,43,\
00,6f,00,6d,00,6d,00,61,00,6e,00,64,00,20,00,50,00,72,00,6f,00,6d,00,70,00,\
74,00,00,00
"MUIVerb" =hex (2): 40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
00,77,00,73,00,68,00,65,00,78,00,74,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,\
34,00,35,00,31,00,31,00,00,00
[Hkey_classes_root\jsfile\shell\open2\command]
@=hex (2): 25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,43,00,53,00,\
63,00,72,00,69,00,70,00,74,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,\
00,22,00,20,00,25,00,2a,00,00,00
[Hkey_classes_root\jsfile\shell\print\command]
@=hex (2): 25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,6f,00,\
74,00,65,00,70,00,61,00,64,00,2e,00,65,00,78,00,65,00,20,00,2f,00,70,00,20,\
00,25,00,31,00,00,00
[Hkey_classes_root\jsfile\shellex\drophandler]
@= "{60254ca5-953b-11cf-8c96-00aa00b8708c}"
[Hkey_classes_root\jsfile\shellex\propertysheethandlers\wshprops]
@= "{60254ca5-953b-11cf-8c96-00aa00b8708c}"
[Hkey_classes_root\jscript]
@= "JScript Language"
[Hkey_classes_root\jscript\clsid]
@= "{f414c260-6ac0-11cf-b6d1-00aa00bbbb58}"
[Hkey_classes_root\jscript\olescript]