vbscript: Substitute SystemRoot at registration time.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-04-09 20:27:26 +02:00
parent 61f9bbd324
commit dbc5633f30
1 changed files with 4 additions and 4 deletions

View File

@ -63,19 +63,19 @@ HKCR
{ {
Edit Edit
{ {
Command = s '"%%SystemRoot%%\system32\notepad.exe" %%1' Command = s '"%SystemRoot%\system32\notepad.exe" %%1'
} }
Open Open
{ {
Command = s '"%%SystemRoot%%\system32\wscript.exe" "%%1" %%*' Command = s '"%SystemRoot%\system32\wscript.exe" "%%1" %%*'
} }
Open2 Open2
{ {
Command = s '"%%SystemRoot%%\system32\cscript.exe" "%%1" %%*' Command = s '"%SystemRoot%\system32\cscript.exe" "%%1" %%*'
} }
Print Print
{ {
Command = s '"%%SystemRoot%%\system32\notepad.exe" /p %%1' Command = s '"%SystemRoot%\system32\notepad.exe" /p %%1'
} }
} }
} }