Assuming you can guarantee XP Pro or Windows Server 2003 or later, you
could run the command prompt utility 'tasklist' and pipe it to a CSV
file:

tasklist /FO CSV > myprocs.csv

You could then get that into a table using APPEND FROM ... CSV

Search the relevant column for IEXPLORE.EXE

If found you could run the command prompt 'taskkill' command:

taskkill /IM iexplore.exe

Although having said all that I'm sure someone will come up with a
Windows API method of doing all this !



On Mon, 20 Jul 2009 18:33 +1200, "Sytze de Boer" <[email protected]>
wrote:
> I need a method to determine if IEXPLORE is listed as a process in
> Ttask manager, and if so, kill it
> Is there an easy way to do so ?
> 
> 
> --
> Regards
> Sytze de Boer
> Kiss Systems
> Hamilton, NZ
> Ph: 64-7-8391670, Mob:021 937611,
> www.kiss.co.nz
> 
> 
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to