home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / dialip2.zip / waitfor.cmd < prev    next >
OS/2 REXX Batch file  |  1999-03-07  |  416b  |  17 lines

  1. /* waitfor */
  2. /*     purpose:  To wait for an event and then delete the dialip.lok file when done.
  3. ** written by: Stan Towianski
  4. **        date:  Sep 10, 1997
  5. */
  6. ans = killbn( '-F' 'ftp.exe,ncftp.exe,HACKSAW.EXE' )
  7. Do while ( ans > 0 )
  8.     say 'waiting...'
  9.     call syssleep 30
  10.     ans = killbn( '-F' 'ftp.exe,ncftp.exe,HACKSAW.EXE' )
  11. End
  12.  
  13. 'del e:\dialip\dialip.lok'
  14. /*say 'from ans ='ans'='*/
  15. exit
  16.  
  17.