home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / adu42a.zip / CONNECT.CMD < prev    next >
OS/2 REXX Batch file  |  1997-06-18  |  437b  |  15 lines

  1. /* BVPPP: Runs IBM's PPP.exe with all the params.  */
  2. Parse Arg Line IP cm dir
  3.  
  4. /*CALL AdeptLog 1, 3, 'BV-PPP: 'line
  5. CALL AdeptLog line, 3, 'BV-PPP: 'ip
  6. CALL AdeptLog line, 3, 'BV-PPP: 'cm
  7. CALL AdeptLog line, 3, 'BV-PPP: 'dir */
  8.  
  9. rc = AdeptCall(Line,1,1,'PPP.exe', IP || ' ' || cm || ' file ' || dir || 'ppp.cfg')
  10. /*rc = AdeptCall(Line,1,1,'PPP.exe', IP || ' ' || cm)*/
  11.  
  12. rc = AdeptSetGlobalVar('PPP'line, 'INACTIVE')
  13.  
  14. EXIT
  15.