home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / packery / xpk_user / arexx / setpassword.rexx < prev   
OS/2 REXX Batch file  |  1996-10-19  |  384b  |  14 lines

  1. /* Set PASSWORD option for XFH device.
  2.  *
  3.  * This is useful if you wish to use encryption with XFH. Obviously,
  4.  * storing the password in an option file wouldn't be a good idea.
  5.  *
  6.  * Usage: rx SetPassword <device> <password>
  7.  *
  8.  * For example: rx SetPassword XDH1 SecretKey
  9.  */
  10.  
  11. PARSE ARG unit value rest
  12. ADDRESS (''||unit)    /* Arexx wierdness... */
  13. 'setoption' 'PASSWORD='||value
  14.