home *** CD-ROM | disk | FTP | other *** search
/ zipcon.net / www.zipcon.net.tar / www.zipcon.net / pub / win31 / allfiles / setup.cmd < prev    next >
OS/2 REXX Batch file  |  1996-05-25  |  1KB  |  40 lines

  1. #
  2. #  Trumpet Winsock 2.1 Setup.cmd
  3. #
  4. #  Copyright (C) 1994,1995 Peter R. Tattam & 
  5. #  Trumpet Software International Pty Ltd (TSI)
  6. #  All rights reserved.
  7. #
  8. #  Unless TSI has given prior written consent to such use, 
  9. #  no permission is granted to distribute or otherwise make available 
  10. #  to the public modified versions of this script for commercial purposes.  
  11. #  Any permitted distribution of modified versions of the script must
  12. #  retain the copyright notice at the start of this file and must clearly 
  13. #  identify those parts of the file which have been modified.
  14. #
  15. %ok = [load $number]
  16. %ok = [load $init]
  17. %ok = [load $username]
  18. %ok = [load $pass]
  19.  
  20. if ![load $number]
  21.   if [query $number "Call wait # (one space for none)"]
  22.     save $number
  23.   end
  24. end
  25. if ![load $init]
  26.   if [query $init "Enter modem init (AT&F&K3 usually works)"]
  27.     save $init
  28.   end
  29. end
  30. if ![load $username]
  31.   if [username "Enter your login username"]
  32.     save $username
  33.   end
  34. end
  35. if ![load $pass]
  36.   if [query $pass "Enter your login password"]
  37.     save $pass
  38.   end
  39. end
  40.