Thanks Chris
I will try that one and see how it goes.
BTW, I checked your site before I posted because I thought I remembered a listing there.
If others are interested, this is what I have tried so far:
1. I've tried taskkill.exe which is excellent, but which is only available with Win XP Pro, so not that great for general distribution
2. Pskill.exe seems to work with most OS, but
might require a licence for distribution, and as yet, I haven't been able to get a response about this.
3. I received this code from a
nerd group I frequent. Untested as yet, but looks hopeful
for /f "tokens=2 skip=3" %%n in ('tasklist /FI "IMAGENAME eq program2.exe"') do set Task=%%n