This shows you the differences between two versions of the page.
Last revision Both sides next revision | |||
windows:defaultbrowser_win10 [2018/09/13 13:31] tschulz created |
windows:defaultbrowser_win10 [2018/09/13 13:32] tschulz [Example Script] |
||
---|---|---|---|
Line 10: | Line 10: | ||
Set WshShell = WScript.CreateObject("WScript.Shell") | Set WshShell = WScript.CreateObject("WScript.Shell") | ||
WScript.Sleep 10000 | WScript.Sleep 10000 | ||
- | ' IE Default browser for WIN10 | + | ' Chrome Default browser for WIN10 |
WshShell.Run "%windir%\system32\control.exe /name Microsoft.DefaultPrograms /page pageDefaultProgram\pageAdvancedSettings?pszAppName=Internet%20Explorer" | WshShell.Run "%windir%\system32\control.exe /name Microsoft.DefaultPrograms /page pageDefaultProgram\pageAdvancedSettings?pszAppName=Internet%20Explorer" | ||