G Guest Jun 13, 2007 #1 Does anyone know how to shutdown Internet Explorer 7.0 from the command-line?
F Frank Saunders, MS-MVP OE/WM Jun 13, 2007 #2 spinkid said: Does anyone know how to shutdown Internet Explorer 7.0 from the command-line? Click to expand... Yes. Write this down so you can remember it: shutdown Use shutdown /? in a command box to see all the switches available.
spinkid said: Does anyone know how to shutdown Internet Explorer 7.0 from the command-line? Click to expand... Yes. Write this down so you can remember it: shutdown Use shutdown /? in a command box to see all the switches available.
G Guest Jun 13, 2007 #3 This command only shuts down the computer. I just want to shutdown an open Interent Explorer window not reboot the computer.
This command only shuts down the computer. I just want to shutdown an open Interent Explorer window not reboot the computer.
S SingaporeWebDesign Jun 14, 2007 #4 Hello, taskkill /im iexplore.exe -- Singapore Website Design http://www.bootstrike.com/Webdesign/ Singapore Web Hosting http://www.bootstrike.com/WinXP/faq.html Windows XP FAQ
Hello, taskkill /im iexplore.exe -- Singapore Website Design http://www.bootstrike.com/Webdesign/ Singapore Web Hosting http://www.bootstrike.com/WinXP/faq.html Windows XP FAQ
G Guest Jun 14, 2007 #5 Thanks that worked. However I also found some vbs code that would work as well. strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colProcessList = objWMIService.ExecQuery _ ("Select * from Win32_Process Where Name = 'iexplore.exe'") For Each objProcess in colProcessList objProcess.Terminate() Next
Thanks that worked. However I also found some vbs code that would work as well. strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colProcessList = objWMIService.ExecQuery _ ("Select * from Win32_Process Where Name = 'iexplore.exe'") For Each objProcess in colProcessList objProcess.Terminate() Next