User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
windows:defaultbrowser_win10 [2018/09/13 13:31]
tschulz created
windows:defaultbrowser_win10 [2018/09/13 13:33]
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=Google%20Chrome"
 ' Give Default Programs time to load ' Give Default Programs time to load
windows/defaultbrowser_win10.txt · Last modified: 2018/09/13 13:33 by tschulz