From 7931c23fef1b41bcf31a9c07bd85816c679d3af8 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Tue, 14 Aug 2012 12:02:01 +0200 Subject: [PATCH] vbscript: Added shell registry for VBSFile. --- dlls/vbscript/vbscript.rgs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/dlls/vbscript/vbscript.rgs b/dlls/vbscript/vbscript.rgs index c390d17b268..4513b4d7fb0 100644 --- a/dlls/vbscript/vbscript.rgs +++ b/dlls/vbscript/vbscript.rgs @@ -59,5 +59,24 @@ HKCR ForceRemove VBSFile = s 'VBScript Script File' { ScriptEngine = s 'VBScript' + Shell = s 'Open' + { + Edit + { + Command = s '"%%SystemRoot%%\system32\notepad.exe" %%1' + } + Open + { + Command = s '"%%SystemRoot%%\system32\wscript.exe" "%%1" %%*' + } + Open2 + { + Command = s '"%%SystemRoot%%\system32\cscript.exe" "%%1" %%*' + } + Print + { + Command = s '"%%SystemRoot%%\system32\notepad.exe" /p %%1' + } + } } }