Alexandre Julliard : vbscript: Substitute SystemRoot at registration time.

Alexandre Julliard julliard at winehq.org
Fri Apr 9 14:53:20 CDT 2021


Module: wine
Branch: master
Commit: dbc5633f302093701d5a428a08891b897e7b41c1
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=dbc5633f302093701d5a428a08891b897e7b41c1

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Apr  9 20:27:26 2021 +0200

vbscript: Substitute SystemRoot at registration time.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/vbscript/vbscript.rgs | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/vbscript/vbscript.rgs b/dlls/vbscript/vbscript.rgs
index 4513b4d7fb0..01d4225234e 100644
--- a/dlls/vbscript/vbscript.rgs
+++ b/dlls/vbscript/vbscript.rgs
@@ -63,19 +63,19 @@ HKCR
         {
             Edit
             {
-                Command = s '"%%SystemRoot%%\system32\notepad.exe" %%1'
+                Command = s '"%SystemRoot%\system32\notepad.exe" %%1'
             }
             Open
             {
-                Command = s '"%%SystemRoot%%\system32\wscript.exe" "%%1" %%*'
+                Command = s '"%SystemRoot%\system32\wscript.exe" "%%1" %%*'
             }
             Open2
             {
-                Command = s '"%%SystemRoot%%\system32\cscript.exe" "%%1" %%*'
+                Command = s '"%SystemRoot%\system32\cscript.exe" "%%1" %%*'
             }
             Print
             {
-                Command = s '"%%SystemRoot%%\system32\notepad.exe" /p %%1'
+                Command = s '"%SystemRoot%\system32\notepad.exe" /p %%1'
             }
         }
     }




More information about the wine-cvs mailing list