Question : Vbscript to set focus when you only know part of a windows name

A hacker got into our server and although we have tried to clean out everything he left we have not been able to eliminate some code that opens a window that generates an error. The problem is that this window appears whenever a user logs on to the server. It is really annoying. The problem is that the window title has a number in it that changes randomly. I am looking for a vscript that I can use to close a window that includes certain text. For example: I want to close all windows that have "idlist" in the title. Does anyone have any  suggestions.

Thanks


Answer : Vbscript to set focus when you only know part of a windows name

Take a look at the TASKKILL command, it supports wildcards in the image name that you wantto kill andmay be able to do what you need.

http://technet.microsoft.com/en-us/library/cc725602%28WS.10%29.aspx

~bp
Random Solutions  
 
programming4us programming4us