Jacek Caban : vbscript: Added shell registry for VBSFile.

Alexandre Julliard julliard at winehq.org
Tue Aug 14 12:59:54 CDT 2012


Module: wine
Branch: master
Commit: 7931c23fef1b41bcf31a9c07bd85816c679d3af8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7931c23fef1b41bcf31a9c07bd85816c679d3af8

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Aug 14 12:02:01 2012 +0200

vbscript: Added shell registry for VBSFile.

---

 dlls/vbscript/vbscript.rgs |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/dlls/vbscript/vbscript.rgs b/dlls/vbscript/vbscript.rgs
index c390d17..4513b4d 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'
+            }
+        }
     }
 }




More information about the wine-cvs mailing list