Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
There are times when I want to remove SEVERAL items from the Systray/Notification Area - after all they DO use RAM.
I can right-click on each individually and select 'exit', but if I knew 'the code' for accessing those items, I could write a batch file to close them all 'in one go'. Can anyone help with this ?Basty

It'd be better if you stopped them from opening in the first place. But if you want to take the lazy way out, search for pskill.

Razor2.3
I will follow up pskil (if I can) - thank you.There seems to be a misunderstanding - I WANT those applications to run - but then there is also a time when I want the Systray free of them.
Basty

Razor2.3
Your reply prompted me to a PC-SEARCH for 'kill' - in vain - but for 'end' it yielded 'endprocess.exe' in C:\windows\options.cabs A search on the NET for 'endprocess.exe' gave me info on usage and parameters, so I was able to create a batchfile to close unwanted items from the systray with lines such as 'C:\EndProcess Ymsgr_tray' to get rid of Yahoo! Messenger.
I failed to find the right script for closing Sygate (firewal) - it does not have an entry in Task Manager. Using the entry shown in MSConfig's StartUp tab (Smc.exe -startgui) is unsuitable. Any suggestions ? [I value Sygate because,
although it has been discontinued, its traffic log will identify (mysterious ?) processes occuring on-line - I don't know of another free firewall that does that.]Basty

When I wrote yesterday that the batchfile to remove items from the systray worked, I wrote that after trying it without going on-line. But once I had been on-line, it did NOT work - any clue why that might be ?
Basty

Your reply prompted me to a PC-SEARCH for 'kill' - in vain - but for 'end' it yielded 'endprocess.exe' in C:\windows\options.cabs
Well, seeing as I told you to search Google for pskill, I'm happy something came of your search. Not exactly the same thing, but I'm not picky. Just as well; I'm not sure how well pskill supports Win9X.I failed to find the right script for closing Sygate
Wouldn't have a clue; I haven't really supported a business Win9X environment since Win2K, nor a home Win9X environment since WinXP. I'd ask around sites that still support WinME, as well as sites that support Sygate.once I had been on-line, it did NOT work - any clue why that might be ?
Nope; I don't have experience with endprocess.exe, you have not posted your script, and my Magic 8-Ball of Technical Support only answers yes/no questions.

Razor2.3
Thanks again for your detailed follow up.Having ensured for simplicity that there is a copy of endprocess.exe on C:\, the following line in my batch file works "C:\EndProcess Vptray" to close Nortons Antivirus.
After a second attempt at running the batch following being on-line, ONLY "C:\EndProcess Ymsgr_tray" failed (to close Yahoo! Messsenger).
I repeat that ALL the lines in the batch files worked repeatedly when I had not gone on-line.
It's been a very interesting exercise, and I 'can live with' the fact that the batch files are less than 100% effective.
"Magic 8-Ball of Technical Support" I suspect you might be in America, which has its own 'English'. What does it mean ?
Basty

Once, I had a Magic 8-Ball, but it sprung a leak. So I duck taped it. On the tape, I wrote "Magic 8-Ball of Tech Support," and conferred to it whenever I had a tech support question I couldn't answer due to the person I was helping not providing and/or unable to provide enough information.
As for YIM, it's probably just blocking the close action. Normally, you can get them to close if you try to kill it two or three times in a row.

There have been some exciting developments !
I've been able to remove Yahoo from the systray by adding the 'pause' command before it, so that THAT procedure doesn't start till I trigger it with a key press - and I delay that till the other applications have finished exiting.[WinMe's endprocess.exe is absent from, but works in WinXP !]
The following is a comment in a 'dead' thread which I started about using a batch file to launch some applications (the reverse to clearing the systray). I had succeeded with some applications but failed with Sygate - that has been resolved by changing the format that worked for e.g. Nortons Antivirus : "start
C:\Progra~1\Norton~1\vptray.exe" (written WITHOUT inverted commas in the batch file) to :
"C:\Program Files\Sygate\SPF\Smc.exe" -start [where the inverted commas are IN the batch file.]Basty

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |