home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / dialip2.zip / rexxcmds.txt < prev    next >
Text File  |  1997-01-10  |  657b  |  25 lines

  1. Hi,
  2.  
  3. As for killing processes, you can get the pid of the program
  4. you want to kill from pstat /c
  5. The number on the left is the hex number you want to use.
  6. You can use my killhex xxx         where xxx is the hex number.
  7. or you can kill by name (of what is in the window list) with killbn.cmd
  8. call killbn 'dialip.exe'
  9.  
  10. This can be done from a rexx program.
  11.  
  12. You can find a pid by using killbn also with a -F or -FX
  13. they return the decimal pid or the hex pid
  14.  
  15. in a rexx program you can play with it but it would probably be 
  16. something like:
  17. hpid = killbn( "-FX dialip.exe" )
  18. or
  19. hpid = killbn( "-FX" "dialip.exe" )
  20.  
  21. play with it.
  22. bye.
  23.  
  24.  
  25.