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):, 6d ,\
00, 6f, 00, 6f, 25, 00, 5c, 00, 6d, 00 ,\
, 00, 5c, 68, 00, 6c, 6c, 00, 2c ,\
00, 2d, 38, 34, 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, 00, 6d, 00, 6f, 00, 6f, 25 ,\
00, 5c, 00, 00, 00, 5c, 53, 00 ,\
,\
, 22, 00, 00, 2a, 00
[HKEY_CLASSES_ROOT \ JSFile \ Shell \ Open2]
@ = Hex (2): 4f, 00, 6e ,\
00, 6f, 00, 6d, 00, 6d, 00, 6e, 20, 00, 6f, 00, 6d, 00 ,\
"MUIVerb" = hex (2): 40, 00, 25, 00, 53,00, 79,00, 00, 6d, 00, 6f, 00 ,\
6f, 25, 00, 5c, 00, 00, 6d, 00, 5c ,\
, 78, 00, 00, 2e, 00, 6c, 00, 00, 2c, 00, 2d, 00 ,\
[HKEY_CLASSES_ROOT \ JSFile \ Shell \ Open2 \ Command]
@ = Hex (2): 25, 00, 53,00, 79,00, 00, 6d, 00, 6f, 00, 6f, 25 ,\
00, 5c, 00, 00, 00, 5c, 53, 00 ,\
,\
, 22, 00, 00, 2a, 00
[HKEY_CLASSES_ROOT \ JSFile \ Shell \ Print \ Command]
@ = Hex (2): 25, 00, 53,00, 79,00, 00, 6d, 00, 6f, 00, 6f, 25 ,\
00, 5c, 00, 00, 6d, 00, 5c, 00, 4e, 00, 6f, 00 ,\
, 00, 00, 2f, 20 ,\
, 25, 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]