home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / Cruncher / XPK_U310.LZX / xpk_User / Arexx / SetPassword.rexx < prev   
Encoding:
OS/2 REXX Batch file  |  1996-10-19  |  384 b   |  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.