Alexandre Julliard : vbscript: Substitute SystemRoot at registration time.
Module: wine Branch: master Commit: dbc5633f302093701d5a428a08891b897e7b41c1 URL: https://source.winehq.org/git/wine.git/?a=commit;h=dbc5633f302093701d5a428a0... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Fri Apr 9 20:27:26 2021 +0200 vbscript: Substitute SystemRoot at registration time. Signed-off-by: Alexandre Julliard <julliard(a)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' } } }
participants (1)
-
Alexandre Julliard