This is really irritating with with the way TASKLIST outputs the Window Title for Internet Explorer 8 on Windows 7 and this goes hand in hand with TASKKILL.
I have 3 instances of Internet Explorer Open (not tabs), each on a different website. When I run the TASKLIST command, the Window Title is only populated with the last IE Window that had focus. Basically the last one I was using.
So if for some reason you had a batch file that used TASKKILL to kill IE with a specific Window Title it does not find it.
Have not tested this with other browsers or versions of Windows.
TASKLIST
Moderator: DosItHelp
Re: TASKLIST
'
Are u sure you have 3 processes running aswell
I remember MS introducing a feature that would allow multiple instances to collapse into the same process. This proved to be a poor choice, as if one window were to crash all windows would. But it can be disabled...
There is a big difference in killing a window and killing it's process/es, if the above describes your case, you could try killing the window instead...
Are u sure you have 3 processes running aswell

I remember MS introducing a feature that would allow multiple instances to collapse into the same process. This proved to be a poor choice, as if one window were to crash all windows would. But it can be disabled...
There is a big difference in killing a window and killing it's process/es, if the above describes your case, you could try killing the window instead...
Re: TASKLIST
Definitely have 3 processes. Was going to post the output of TASKLIST to show you that the Window Title was blank for the other processes but figured that was understood. The only real way to identify which process is for which Window is to use the Window Title option.
Re: TASKLIST
I can confirm both. Internetexplorer can run in several instances, but TASKLIST finds or returns only one window title.
Firefox would open several windows but they run always in the same instace. (Tested on Win7)
Regards
aGerman
Code: Select all
tasklist /fi "imagename eq iexplore.exe" /v
Firefox would open several windows but they run always in the same instace. (Tested on Win7)
Regards
aGerman