We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
set s=getobject("winmgmts:root\cimv2") sQuery="select * from win32_process where name='iexplore.exe'" set q=s.execquery(sQuery) If q.Count > 0 Then msgbox "Maintenance: Close Internet Explorer bla bla bla." Do until q.count=0 wscript.sleep 5000 set q=s.execquery(sQuery) msgbox "still open please close..." Loop msgbox "Internet Explorer closed, thanks. Starting to update, have a nice day!" Set WshShell = WScript.CreateObject("Wscript.Shell") Set objFSO = CreateObject("Scripting.FileSystemObject") end if
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|How do I extract data from Excel worksheets?||5||58|
|How to fix error "424" object required.||6||65|
|xcopy using a text file to a folder||13||80|
|Create macro that is run through Task Scheduler and saves all open Excel spreadsheets?||14||33|
Join the community of 500,000 technology professionals and ask your questions.