How to restart Internet Explorer with vbs
This article focuses on "how to restart Internet Explorer with vbs". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to restart Internet Explorer with vbs.
The copy code is as follows:
StrComputer = "." Set objWMIService = GetObject ("winmgmts:\\" & strComputer & "\ root\ cimv2") Set objShell = CreateObject ("Wscript.Shell") Do While True Set colProcesses = objWMIService.ExecQuery _ ("Select * from Win32_Process Where Name = 'iexplore.exe'") If colProcesses.Count = 0 Then objShell.Run "iexplore.exe" End If Wscript.Sleep 60000 Loop I believe you have a deeper understanding of "how to restart Internet Explorer with vbs", so you might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!