[CSCRIPT][WSCRIPT][BOOTDATA] Basic .wsf support (#6140)

Support for .wsf files with a single script block
This commit is contained in:
Whindmar Saksit 2024-05-19 13:57:47 +02:00 committed by GitHub
parent 09965760e0
commit 108db8f007
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 582 additions and 0 deletions

View file

@ -555,6 +555,16 @@ HKCR,"AVIFile","",0x00000000,%AVIFILE%
HKCR,"AVIFile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shell32.dll,-224"
HKCR,"AVIFile\shell\open\command","",0x00020000,"%SystemRoot%\system32\mplay32.exe ""%1"""
; WSH
HKCR,".wsf","",0x00000000,"WSFFile"
HKCR,".wsf","PerceivedType",0x00000000,"text"
HKCR,"WSFFile","",0x00000000,%WSFFILE%
HKCR,"WSFFile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shell32.dll,-153"
HKCR,"WSFFile\shell\Open\command","",0x00020000,"""%SystemRoot%\system32\WScript.exe"" ""%1"" %*"
HKCR,"WSFFile\shell\Open2","",0x00000000,"Open &with Command Prompt"
HKCR,"WSFFile\shell\Open2\command","",0x00020000,"""%SystemRoot%\system32\CScript.exe"" ""%1"" %*"
HKCR,"CLSID",,0x00000012
; For Shell32.dll
@ -791,6 +801,7 @@ AVIFILE="Video Clip"
CSSFILE="Cascading Style Sheet"
SCFFILE="ReactOS Explorer Command"
WMZFILE="Compressed Enhanced Metafile"
WSFFILE="Windows Script File"
;; For .reg files, right-click menu
MERGE="Merge"