Kill explorer.exe with windows title
Posted
by matthias
on Stack Overflow
See other posts from Stack Overflow
or by matthias
Published on 2010-06-07T08:44:05Z
Indexed on
2010/06/07
8:52 UTC
Read the original article
Hit count: 475
Hello,
I'm new with programing and my question is now, how i can close some specific explorer.exe windows. My Problem is, i have a program that call some windows:
Option Explicit
Dim shell, expl1, expl2, expl3, Terminate
Dim uprgExplorer
set shell = WScript.CreateObject("WScript.Shell")
set expl1 = shell.exec("C:\WINDOWS\explorer.exe c:\Documents and Settings")
set expl2 = shell.exec("C:\WINDOWS\explorer.exe C:\WINDOWS\system32\CCM\Cache")
set expl3 = shell.exec("C:\WINDOWS\explorer.exe c:\SCRIPTS\LOG")
Now i will kill only this 3 windows NOT the explorer.exe.
Can some one help me?
Greetings,
matthias
© Stack Overflow or respective owner