Hi,

As for killing processes, you can get the pid of the program
you want to kill from pstat /c
The number on the left is the hex number you want to use.
You can use my killhex xxx         where xxx is the hex number.
or you can kill by name (of what is in the window list) with killbn.cmd
call killbn 'dialip.exe'

This can be done from a rexx program.

You can find a pid by using killbn also with a -F or -FX
they return the decimal pid or the hex pid

in a rexx program you can play with it but it would probably be 
something like:
hpid = killbn( "-FX dialip.exe" )
or
hpid = killbn( "-FX" "dialip.exe" )

play with it.
bye.


