MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
set s=getobject("winmgmts:root\cimv2") sQuery="select * from win32_process where name='iexplore.exe'" set q=s.execquery(sQuery) 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
|call multiple sqlcmd's within one bat file - with logging||9||50|
|VBScript: Loop through computers.txt instead of strComputer = "."||10||53|
|How do I search an FTP site for a specific file name/pattern?||3||33|
|how to get the word count within batch file in MS DOS and manipulate to exit loop||5||14|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
11 Experts available now in Live!